Data flow analysis method for conditional expressions in C program
A conditional expression and data flow analysis technology, applied in the direction of electrical digital data processing, software testing/debugging, instruments, etc., can solve problems such as difficult analysis
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] When the method of this patent analyzes the data flow of the conditional expression, the C program under test with the conditional expression is firstly preprocessed to obtain the intermediate representation of the program such as the abstract syntax tree, the symbol table, the definition usage chain, and the control flow graph; and then Flow-sensitive data flow analysis is carried out based on control flow graph using interval operation technology. When the node of the control flow graph corresponding to the statement where the conditional expression is located is analyzed, the number of children of the root node of the abstract syntax subtree corresponding to the conditional expression is first identified, and the type of the conditional expression is judged according to the number of children; and then According to the type of the conditional expression, the interval operation technique is used to analyze the data flow of the conditional expression to obtain the value...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


