Supercharge Your Innovation With Domain-Expert AI Agents!

Path-sensitive detection method and device

A detection method and path technology, applied in the computer field, can solve problems such as unsatisfactory scalability and inability to effectively apply large-scale applications, and achieve the effect of reducing detection overhead

Active Publication Date: 2015-08-26
HUAWEI CLOUD COMPUTING TECH CO LTD +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a path-sensitive detection method and device, so as to solve the problem of unsatisfactory scalability and inability to be effectively applied to large-scale applications in the solution of detecting value flow errors in the prior art

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
  • Path-sensitive detection method and device
  • Path-sensitive detection method and device
  • Path-sensitive detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] figure 1 It is a flow chart of the path-sensitive detection method provided by Embodiment 1 of the present invention. The method of this embodiment can be effectively applied to large-scale applications. The method is executed by a value stream error detection device, which is usually implemented in hardware and / or software. The method o...

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

An embodiment of the invention provides a path-sensitive detection method and device. The path-sensitive detection method comprises the following steps: setting an initial error-related attribute for a variable according to the value stream error type; propagating the initial error-related attribute along a constant value reference chain; recognizing the error-related attribute of the variable in the position of a potential error statement; determining the potential error statement to be a possible error statement according to the error-related attribute, recognized in the position of the potential error statement, of the variable; acquiring a statement input set for path-sensitive detection according to the possible error statement; performing path-sensitive detection according to the statement input set for path-sensitive detection. According to the path-sensitive detection method and device, the problems of non-ideal scalability and failure of effective application to large-scale application programs for the value stream error detection in the prior art are solved, the detection overhead is reduced through reduction of the statement input set for path-sensitive detection, and the path-sensitive detection method and device can be effectively applied to large-scale application programs.

Description

technical field [0001] Embodiments of the present invention relate to field computer technologies, and in particular, to a path-sensitive detection method and device. Background technique [0002] The value flow error in the program is a very common and dangerous loophole, which exists widely in various operating systems and application software. Error raised when the stream reaches the reference point. To ensure the safe operation of computer systems, it is very important to eliminate value flow errors. [0003] At present, static methods are mainly used to detect value stream errors. The static method does not need to run the program, and only needs to scan the source program statically to find errors in the program. It can find errors in the program as early as possible. In order to improve the accuracy of error detection, it is usually to analyze all possible execution paths in the program one by one, and then detect value flow errors. This type of method has high de...

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 HUAWEI CLOUD COMPUTING TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More