The Design of Performance Optimization for Dynamic Symbolic Execution
- Author
- JiXiaoLi
- Advisor
- YangGuoWu
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 22
- Citations
- 0
- dynamic symbolic execution
- path explosion
- superblock dominator graph
- Vulnerability Test
- Code Coverage
Abstract
With the rapid development of computer sciences, the quality of software hasbecome a focus of research. It is important for a software vulnerability detectiontechnology to be able to accurately and comprehensively detect all the potentialvulnerabilities. Traditional static testing approaches fall far short of what is requirednow. Automate fuzz test is a popular weapon in the ongoing fight against softwaresecurity exploitation. But its inherent defects cannot satisfy the effective andcomprehensive testing requirements. Symbolic execution technology has been proposedas early as the70s, and that has found renewed interested in recent years. Dynamicsymbolic execution, short for DSE, is now the underling technique of several populartesting tools, which can automatically generating testcases that achieve high codecoverage of program executions.Dynamic symbolic execution still suffers from scalability issues due to the pathexplosion. Systematically execute all feasible program paths when testing largeapplications with hundreds of millions of instructions is still problematic within alimited search period. Although there are a series of solutions be put forward, such aspruning redundant paths, heuristics research and others, the challenge is still existed.In this thesis, through the further study of symbolic execution and path explosion, anovel path selection algorithm, called dominator algorithm, is proposed to improvingthe code coverage and execution performance. This algorithm depends on a globalsuperblock dominator graph, which is transformed from the control flow graph and thefunctions call relationship graph of the under test program based on the theory ofdomination. With the dominator algorithm to drive new path selection, the DSE tool canmaximize the number of new covered code each execution. In addition, a DSEprototype system, called DDse, was build under Linux OS to validate the new algorithm.DDse select Valgrind as instrumentation tool and Stp as constraints solver, and six pathselection methods include dominator algorithm are implement in. Severalmiddle-to-large sized open source applications under Linux system are tested, throughthe tests and the analysis result proved that the dominator algorithm has realized the proposed target that effectively improved the performance of DSE system.
Table of contents
Summary 5-6
ABSTRACT 6-10
first chapter 10-17
1.1 Background and Significance 10 - 12
1.2 dynamic symbolic execution techniques Introduction 12-13
1.3 Research Status 13-15
1.4 This paper studies 15-16 <br / > 1.5 papers organizational structure 16-17
chapter dynamic symbolic execution techniques outlined 17-39
2.1 system Overview 17-20 <br / > 2.2 key technologies used 20-34
2.2.1 symbolic 20
2.2.2 dynamic Binary Instrumentation 20-25
2.2 .3 constraint solving 25-28
2.2.4 dynamic vulnerability detection 28-31
2.2.5 symbolic execution driven algorithms 31-34 <br / > 2.3 applications 34-36
2.3.1 automated test case generation 34
2.3.2 automatic filter generation 34-35
2.3. 3 malicious code analysis 35
2.3.4 program Analysis 35
2.3.5 vulnerability detection 35-36
2.3.6 regression testing technical problems 36
2.4 unresolved 36-38
2.4.1 path explosion 36-37
2.4.2 constraint solving problems 37
2.4.3 external function tracking 37-38
2.4.4 floating point calculation 38
2.4.5 environment interaction problems 38
2.5 Summary 38-39
Chapter dominate the global super block diagram based on the driving algorithm design 39-52
3.1 graph theory basics 39-44
3.1.1 basic block control flow graph 39-41
3.1.2 basic block diagram dominated 41-43
3.1.3 superblock domination Figure 43-44
3.2 superblock global domination Figure 44-49
3.3 symbolic execution -driven algorithm design 49-51
3.3 .1 algorithm thought 49-50
3.3.2 algorithm steps 50-51
3.3.3 algorithm summarized 51
3.4 summary 51-52
Chapter IV prototype system design and implementation 52-68
4.1 prototype system framework described 52-53
4.2 system module functions to achieve 53-66
4.2.1 with IDA plugin gain control flow graph , and function call graph 53-55
4.2.2 Boost graphics library based on the super block to achieve global domination Figure 55-60
4.2.3 Instrumentation and path constraints collect 60-64
4.2.4 select nbsp path dominate the global super block diagram based ; 64 - 65
4.2.5 solver module 65-66
4.3 Summary 66-68
Chapter experiments and analysis 68-76
5.1 test environment to build 68-69
5.2 experimental test 69-73
5.3 summarizes the experimental 73-75
5.3.1 test results 73
5.3.2 data Compare 73-74
5.3.3 performance Analysis 74-75
5.4 Summary 75-76
Chapter VI Conclusion 76-78
6.1 the main results of the paper, innovation and lack 76-77
6.2 future research 77-78
Thanks 78-79
References made ??during the 79-82
attack Shuo research 82-83
Related dissertations
- Research on Methods of Applying Fuzzing to Binary-programs Vulnerabilities Discovery
- Research on Dynamic Program Analysis Technique for Software Security
- Research on Key Technologies of Malicious Code Binary Program Behavior Analysis
- Java Card Code Coverage Data Source Mechanism and Calculation
- The Design and Implementation of BMC Regression Test Selection Based on Code Coverage
- Research on Coverage-Based Fault Localization for Object-Oriented Programs
- Vulnerability testing technology based on symbolic execution software
- Research and Implementation of Malware Analysis Tool Based on Virtualization
- The Research and Realization on Java Card Code Coverage Measurement Technology
- Based on binary executable code coverage testing technology research
- System Verilog Based System Level Verification and Design of Denoise Module in Image Signal Processing System
- Research and Design of Host Vulnerability Scanner
- VHDL Implement of Float-point FFT and the Research on HDL Functional Verification Strategies
- The Study on Functional Verification Methods and Technologies for Sequential Circuits
- Coverage Analysis of North Birdge Functional Verification
- Research and Application of the Function Verification in the IP Core Design
- I2C and DMA soft IP software verification platform design
- Research and Implementation of Bit-Process Unit and Dual-MAC Unit of FT-C55LP DSP
- Design and Implementation of Program Unit in FT-C55LP
- Based on the white box bytecode instrumentation system design and implementation