Software fault analysis method based on multi-sample difference comparison
A software fault and analysis method technology, applied in the field of software analysis, can solve problems such as complex faults that cannot be located, and achieve the effects of solving complex faults that cannot be located, improving accuracy, and improving work efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] Embodiment one: see figure 1 , the present invention uses the software failure analysis method of multi-sample difference comparison, and its steps comprise:
[0024] 1) Disassemble and dynamically insert the analyzed program;
[0025] 2) Track and record the execution instruction flow of the program to be analyzed, and construct the control flow graph of the program with the basic block as the smallest unit. The basic block is defined as the instruction between the previous jump instruction and the next jump instruction in the execution instruction flow gather;
[0026] 3) Select the data processing entry point as the base point for comparison, build a multi-sample difference tree model, compare multiple samples in pairs for control flow graph comparison, find the key difference points that cause the control flow to go to different branches, and obtain wrong data input Point to the critical path between each difference point, the specific steps are as follows:
[00...
Embodiment 2
[0033] Embodiment two: see figure 2 , the software failure analysis method using multi-sample difference comparison in this embodiment is different from Embodiment 1 in that: further, in step 1), the binary data stream is reversely restored to assembly code according to the x86 instruction set specification, according to The jump instruction divides the assembly code into several basic blocks, and its flow is as follows:
[0034] (1.1) Analyze the PE structure of the executable file, including the loading base address of the executable file, the name of the module to be loaded, Section Table, file size, alignment, alignment granularity, and Import Table Export table (Export Table) and other information.
[0035] (1.2) Identify the import and export functions, combine the PE file structure with the disassembly output information, identify the import and export functions of the executable file, including their function names and addresses, and provide data for instruction flow...
Embodiment 3
[0040] Embodiment three: see image 3 , this embodiment uses the software failure analysis method of multi-sample difference comparison, which is different from Embodiment 2 in that: the process of dynamically inserting the analyzed program is as follows:
[0041] 1.1a) Establish a dynamic debugging framework: establish a standard debugging framework according to the specifications of the Windows system software debugging framework provided by Microsoft, set memory breakpoints inside the framework, sample the environment context, and trace the instruction stream by basic blocks and record debugging features;
[0042] 1.2a) Instruction flow single-step trace, condition trace and data flow read and write trace.
[0043] Specifically include the following steps:
[0044] (1.1b) Establish a dynamic debugging framework: establish a standard debugging framework according to the specifications of the Windows system software debugging framework provided by Microsoft, and add various ...
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