Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A source code detection method and device, and electronic equipment

A code detection and detection method technology, applied in the field of electronic equipment, source code detection methods and devices, can solve problems such as different test angles, false positives and false positives, and the inability to comprehensively and accurately evaluate the real situation of software source codes to achieve reasonable Effective detection, comprehensive and accurate detection results

Active Publication Date: 2019-07-09
长沙软工信息科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Among them, both static testing and dynamic testing include testing tools for testing different types of source codes. The testing content and testing angles of various testing tools are different, and there are different degrees of false positives and false negatives, so it is impossible to comprehensively and accurately evaluate software sources. The reality of the code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A source code detection method and device, and electronic equipment
  • A source code detection method and device, and electronic equipment
  • A source code detection method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0029] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0030] figure 1 It is a schematic flow chart of the method of the embodiment of the present invention. As shown in the figure, the source code detection method disclosed in the present invention includes:

[0031] S1: collect source code samples, analyze and determi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a source code detection method and device and an electronic device, and the method comprises the steps of collecting a source code sample, analyzing and determining a pluralityof sample features of the source code, and obtaining a sample feature set comprising the plurality of sample features; determining at least one detection tool for detecting the source code from a software detection tool set according to the sample feature set; detecting the source code by using the at least one detection tool to obtain at least one group of corresponding detection results; and performing standardization processing on the at least one group of detection results to obtain standardized detection results. By means of the method and the device, source codes can be more reasonablyand effectively detected, and more comprehensive and accurate detection results can be obtained.

Description

technical field [0001] The invention relates to the technical field of software detection, in particular to a source code detection method and device, and electronic equipment. Background technique [0002] The existing source code vulnerability and defect detection methods are divided into two categories: static testing and dynamic testing. Static testing mainly uses static analysis of the code (mainly including lexical analysis, program commentary, type inference and model detection, etc.) to speculate on the behavior of the program at runtime, so as to discover possible defects in the code. Dynamic detection refers to injecting test data during the running of the program to observe whether the program is running normally and whether the output conforms to the intention of the program, so as to achieve the purpose of finding program loopholes. Among them, both static testing and dynamic testing include testing tools for testing different types of source codes. The testing...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3624G06F11/3692
Inventor 徐俊李纠李红霞罗俊松倪皖波林佳
Owner 长沙软工信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products