Code detection method and device, electronic equipment and storage medium

A technology of code detection and detection, which is applied in the field of information security, can solve the problems of low accuracy of taint analysis results, and achieve the effects of improving efficiency, reducing complexity, and improving accuracy

Pending Publication Date: 2022-04-12
CHINA TELECOM CORP LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present disclosure is to provide a code detection method, a code detection device, an electronic device, and a computer-readable storage medium, so as to overcome the problem of low accuracy of stain analysis results in related technologies at least to a certain extent

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
  • Code detection method and device, electronic equipment and storage medium
  • Code detection method and device, electronic equipment and storage medium
  • Code detection method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.

[0052] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known methods, ap...

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 provides a code detection method and device, electronic equipment and a storage medium, relates to the technical field of information security, and can be applied to a scene of taint information flow analysis. The code detection method comprises the following steps: analyzing a grammar structure of a to-be-detected program code to obtain a program grammar rule and a data dependency relationship; extracting program codes matched with the stain mark library in the to-be-detected program codes to obtain stain matching information; abstracting program elements irrelevant to the target stain in the to-be-detected program code based on the program grammar rule, the data dependency relationship and the stain matching information to generate a target abstract code; and performing taint information flow analysis based on program element variation on the target abstract code to obtain a detection result of the to-be-detected program code. According to the technical scheme, the code detection efficiency and the taint information flow analysis accuracy can be improved.

Description

technical field [0001] The present disclosure relates to the technical field of information security, and in particular, to a code detection method, a code detection device, electronic equipment, and a computer-readable storage medium. Background technique [0002] Taint analysis is one of the important practical means of information flow analysis. Inaccurate taint analysis results will lead to a large number of false positives in code information flow analysis results. [0003] The taint analysis in code detection can be divided into static taint analysis and dynamic taint analysis. Static taint analysis is based on alias detection, which has problems of accuracy and efficiency. Dynamic taint analysis is based on code instrumentation, which relies on program execution and has a single coverage path, so it cannot fully and accurately locate the full-text taint propagation path information. [0004] It should be noted that the information disclosed in the above background s...

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 纪妙
Owner CHINA TELECOM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products