Execution Trace-Based Dynamic Slicing on Binary Programs

Author
ZhangYiChao
Advisor
ChenChun , BoJiaJun
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2008
Downloads
117
Citations
3

Request the full text

Abstract

User base from the Windows operating system in order to attract potential users the , UnifiedKernel system is designed to run Windows applications on the Linux operating system . In both software testing UnifiedKernel system with the Windows operating system compatibility , developers encounter difficulties . Do not have the source code , the face of a black box , the program developers must analyze each line of program instructions , this overhead is great , and because many instruction program that appears abnormal behavior , so the efficiency is very low under . Under this opportunity , this paper presents a dynamic slicing technology in the case of the absence of source code , binaries , and identify instruction and procedures for abnormal behavior , reduce the number of instructions that developers need to analyze , to relieve their work pressure , improve work efficiency . This article is mainly to complete the work of the following two aspects : (1) to take advantage of record -based instruction execution binary dynamic program slicing method provides a theoretically and technically ready . The article discusses the method of dynamic disassembly , and discussed the possibility of only need instruction execution record and program control dependence graph slice technology ; (2 ) , based instruction execution record binary dynamic program slicing method and design experiments to prove the method is correct , and effectively improve the work efficiency of the developer . In the experiment , the authors found that , according to the article proposed the method to find the abnormal behavior and procedures related to instruction , the size of about 10-30% of the size of the original program , commissioning personnel need to analyze the number of instructions will be cut as the original 1/3 to 1/10, to effectively achieve its purpose. The article pointed out that the dynamic program slicing is feasible, the binary program based on the instruction execution recording method makes the technique more practical . The technology can effectively reduce the commissioning personnel need to analyze the number of instructions , and improve work efficiency .

Table of contents

Abstract 3-4 Abstract 4-9 Chapter 1 Introduction 9-15 1.1 Background topics 1.2 UnifiedKernel project 9-11 1.3 UnifiedKernel project encountered problems 11-12 the 1.4 dynamic program slicing legal consequences 12-14 1.5 The main work and arrangements 14-15 Chapter 2 existing program slicing technology 15-27 2.1 program analysis, classification 15-16 2.2 program slicing technology 16-22 2.2.1 static slicing technology 17-18 2.2.2 Dynamic program slicing 18-19 2.2.3 mixed program slicing 19-20 2.2.4 concurrent dynamic program slicing 20 2.2.5 Condition Program slicing 20-21 2.2.6 amorphous program slicing 21-22 2.3 program slicing technology applications 22-24 2.3.1 program debugging 22 2.3.2 code degree of polymerization metric 22-23 2.3.3 program understand 23 2.3.4 software security analysis 23-24 2.3.5 program correctness analysis 24 2.4 existing program slicing techniques inadequate 24-25 2.5 This chapter Summary 25-27 Chapter 3 binaries preliminary processing 27-41 3.1 Overview 27-29 3.1.1 program slicing steps 27-28 3.1.2 Definition of Terms 28-29 3.2 dynamic disassembly 29-31 3.2.1 Directive Get 30-31 3.2.2 instruction decoding 31 3.3 records execution sequence 31-34 3.3.1 need to record the execution information 31-34 the the 3.3.2 function reticle and the control flow graph generated 34 3.4 Control dependence Figure 34-39 3.4.1 Directive domination and control dependencies 36-39 3.4.2 control dependence graph to establish 39 3.5 This chapter Summary 39-41 Chapter 4 recorded program based instruction execution slice 41-53 4.1 Overview 41-42 4.2 structured program of dynamic slicing 42-45 other factors in the 4.3 program slicing 45-52 4.3.1 semi-structured program of unconditional jump instruction 45-49 4.3.2 CALL instruction RET instruction 49-50 4.3.3 not traverse all branches of the conditional jump instructions 50-51 4.3.4 system calls 51-52 4.4 This chapter Summary 52-53 Chapter 5, experimental design and results 53-59 5.1 Experimental Design 53-54 5.2 Experimental results 54-57 5.3 This chapter Summary 57-59 Chapter 6 Summary and Outlook 59-62 6.1 summarizes 59-60 6.2 Looking 60-62 the References 62-66 of resume The 66-67 Acknowledgements 67

Related dissertations

  1. Simulations of the Impact of Type Ia Supernova Explosions on Their Non-degenerate Companion Stars
  2. Evolution of Low-mass X-ray Binaries
    XuZuo ·Nanjing University ·2012 ·Master's thesis
  3. Study on the Evolution of Compact Star Binaries and Stellar X-ray Sources
    XuXiaoJie ·Nanjing University ·2012 ·Doctoral dissertation
  4. The Theoretical Study of Symbiotic Stars
  5. Blue straggler binary star formation mechanism
  6. The formation and evolution of hot subdwarf
  7. The Influence of Viscosity on the Truncation of Accretion Disk Around Black Holes
  8. Research on Slicing-Based Binary Executables Analysis Technology
    LiChao ·Guangdong University of Technology ·2011 ·Master's thesis