Parallel symbolic execution method based on path cluster reductions
A symbolic execution and path technology, applied in the field of parallel testing based on program symbolic execution path cluster division, can solve the problem of low parallel symbolic execution efficiency, improve parallel processing capability and execution efficiency, improve capability and test efficiency, and improve hits The effect of rate and efficiency of software test analysis
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment one: see figure 1 , the parallel symbolic execution method based on the path cluster protocol of the present invention specifically includes the following steps: 1) using a disassembly tool to disassemble the executable program under test to obtain the assembly code of the executable program under test;
[0026] 2) Convert the assembly code into a unified intermediate assembly language form to shield the differences in the underlying specific assembly language;
[0027] 3) According to the intermediate assembly language form, generate the function call graph and control flow graph of the executable program under test;
[0028] 4) Define the characteristics of dangerous functions, and find dangerous functions through static analysis of the function call graph;
[0029] 5) Define the characteristics of the input function, and find the input function through the static analysis of the function call graph;
[0030] 6) Establish the paths between "program entry ...
Embodiment 2
[0033] Embodiment 2: The parallel symbolic execution method based on path cluster protocol in this embodiment is different from Embodiment 1 in that further, in step 4), four types of dangerous functions are defined, namely: string copy, memory Copying, formatting, format conversion, etc. In step 5), six types of input functions are defined, namely: file reading, network data reading, pipeline and message reading, user input, environment variable reading, connection functions, etc.
Embodiment 3
[0034] Embodiment three: see figure 2 , the parallel symbolic execution method based on the path cluster protocol in this embodiment is different from the second embodiment in that further, in step 6), based on the analysis of program control dependencies and data dependencies, the "program entry Point → call input function", "call input function → call dangerous function", "call dangerous function → program end point" three groups of point-to-point multiple paths are regulated to form a point-to-point path cluster.
[0035] The path cluster specification between two points in the program can be summarized as 2 steps: determining a set of program statements having a data dependency on a symbolic value of a symbolic execution target point result; find with In the statement collection there is a collection of statements that control dependencies.
[0036] In the parallel symbol execution method based on the path cluster protocol of the present invention, in step 3), the g...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com