Research on Recognition of Template Library Function in C++ Decompiler
- Author
- HuZheng
- Advisor
- ChenKaiMing
- School
- University of Science and Technology of China
- Major
- Applied Computer Technology
- Classification
- TP314 Compiler,interpreter
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 227
- Citations
- 5
Abstract
As an important part of software reverse engineering , reverse compiled executable code analysis and software maintenance plays a very crucial role . Decompilation is highly intelligent recognition process , the reasoning process of incomplete information . Although the study began earlier ( early in 1960 ) , but still did not form a system of theories and methods . With the continuous development of computer theory and technology , and the object of study and the content is also changing . For these reasons, based on previous studies in the field of Decompilation contradiction between the widespread use of the C language and C Decompilation fledgling C Decompilation theory , method and technology to explore and research , especially C system library functions identification , made ??innovative achievements . The concrete work as follows : 1. Analysis of the difference between C and C , a the Decompilation system design should pay attention to the problem of the new features for C , and gives a partial solution ideas ; 2 . Entity of the C library functions to improve the original C library function recognition algorithms , and theoretical evidence for further research and practical experience : 3 . The C library function template , a new feature recognition method to identify and solve the problem of the identification system library functions in C Decompilation . Supplement the the C the Inverse compiler research a blank Decompilation field . In all aspects of the field of computer software , Decompilation been quietly plays an important role, but has been due to the difficulty of the study , the slow speed of legitimacy doubt, technology updates and other reasons , few people pay attention . With the continuous development of software technology , learning , understanding , and transformation of the existing software , maintenance and reuse are becoming increasingly important, more and more new direction , reverse compile will certainly be able to find a new arena .
Table of contents
Abstract 3-4
Abstract 4-8
Chapter 1 Introduction 8-20
1.1 Introduction 8-9 < br /> 1.2. study of history and current situation 9-14
1.2.1 compiler and decompilation the <br 9-10 /> 1.2.2. the decompilation origin Profile 10
1.2.3. obstacles: the legitimacy of the discussion 10-11
1.2.4. situation appeared 11-12
1.2.5 domestic research situation Introduction 12-13
1.2.6 Research 13-14
1.3. related fields and the role 14-17
1.3.1 software reverse engineering 14-15
1.3.2. program comprehension 15-16
1.3.3 software maintenance and reuse 16
1.3.4. hardware automatically evolutionary 16-17
1.3.5. automated verification 17
1.4. inverse compiler models and research methods 17 - 19
1.4.1. grammar-based inverse compiler 18
1.4.2. inverse pattern-based compiler 18
1.4.3. generate a compiler-based The logical design of the inverse compiler 18
1.4.4 compiler knowledge-based inverse 18-19
1.4.5 the reverse compiler compiler 19
1.5 of this chapter Summary 19-20
Chapter 2, the inverse of the C compiler model 20-31
2.1 Introduction 20 < br /> 2.1.1 of decompilation system 20
2.2.c language The introduced 20-21
2.3 Design C decompilation system 21-30
2.3.1. library nbsp functions; 22-23
2.3.2. general category 23-25 ??
2.3.3 memory allocation and deallocation 25-26
2.3.4. inherited 26
2.3.5. polymorphic the <br 26-28 /> 2.3.6. abnormal 28 - 29
2.3.7. template 29-30
2.4. This article contents 30
2.5 of this chapter Summary 30-31
Chapter 3 C system library functions identification 31-51
3.1 Introduction 31-33
3.1.1 discuss the background and the environment 31-32
3.1.2.c template concept Introduction 32
3.1.3 identify the significance of the C library functions 32-33
3.2 Technical Features 33
-37 of 3.2.1.c library function Features 33-34
3.2.2 the templating library functions identification difficult 34-37
3.3. feature recognition method of library functions 37-41
3.3.1 Introduction of traditional feature recognition method 37
3.3.2. new difficulty 37-39 < br /> 3.3.3. Difficulties 39-41
3.4. improved feature recognition method 41-42
3.5. algorithm description 42-44
3.5.1. feature collection algorithm 42-43
3.5.2. library function recognition algorithm 43-44
3.6. practical application 44-49
3.6.1 Training 44-45
3.6.2 target program 45
3.6.3. recognition results 45-46
3.6.4. verification 46-48
3.6.5. experimental data statistics 48-49
3.7 of this chapter Summary 49-51 Chapter 4 C library function template
identify 51-73
4.1 Introduction 51-53
4.1.1 identify the target function entity brought 51-52
4.1.2. change target identification 52-53
4.2. the identification C library function template 53-58
4.2.1 library function template feature 53-56
4.2.2. summarized from the physical sample characteristics 56
4.2.3. inductive characteristics and evaluation strategies 56 - 57
4.2.4. problem is equivalent to mapping 57-58
4.2.5. optimization of the search 58
4.3 Related formal definition 58-61
4.3.1. strings of the original definition of the best match 59
4.3.2 the extended best match defined 59-61
4.3 .3 matching matrix 61
4.4. correlation algorithm description 61-65
4.4.1. solving optimal matching between algorithm 62
4.4 .2. finest divided matching matrix construction algorithm 62
4.4.3. looking the longest lower right line routing algorithm 62-63
4.4.4. matches construction algorithm 63-64
4.4.5. feature training algorithm 64-65
4.4.6. the signature update algorithm 65
4.4.7. feature matching algorithm is 65
4.5. practical application 65-71
4.5.1. the training sample code is 66
4.5.2 identify the required characteristics 66-67
4.5.3. matches 67-68
4.5.4 the experimental library function select 68-69
4.5.5. experimental data and statistics 69-71
4.5.6. further improve 71
4.6 of this chapter Summary 71-73
Chapter 5 summarizes 73-78
5.1 This article work 73-74
5.2. decompilation exist in the field; nbsp 74-75
5.2.1 backward the rate of change in the compiler 74
5.2.2. behind the speed of evolution of the programming language 74
5.2.3. narrow range of applications 74-75
5.3 Further work 75-77
5.3.1 versatility 75
5.3.2. user type identification 75 - 76
5.3.3. recognition of the relationship between the type
76 5.3.4. the user templates recognition 76-77
5.4 Conclusion 77 -78
Reference 78-83
Acknowledgements 83-84
master's published papers during 84
to pursue the Master participate during the The subject of the project 84-85 the
author resume 85
Related dissertations
- A Mobile-platform Based Cloud Web Structure Transform
- Study on the Network Flow Statistics System Based on NETSTREAM
- Research on Resource Virtualization in Cloud Manufacturing
- Research on the Automatic Generation of Customer Reviews Report Facing Network
- Research on SAP ERP Template Development and Implementation
- Soil Carbon/Nitrogen Dynamics, Carbon Fractions and Nutrient Distribution under Long Term Tillage and Residue Management Systems in North China Plain
- Studies on the Preparation of ZnMn2O4and Its Electrochemical Performance
- Research and Setting Software Development of Generator-Transformer Group Protection Relays
- Development of Laser Coal Stocktaking System
- The Research on the Model and Algorithm of High-speed Railway Train Scheduling Based on the Periodic Event System
- Migration and Transformation Law of Nitrate in Unsaturated Zone and Saturated Zone
- Research on Personalized Print Design Platform Based B/S Mode
- 2J85Material Superhydrophobic Surface Preparation Process Research
- Spherical TiO2Photocatalysts Prepared via Template Method
- Design and Preparation of Mesoporous Hydroxyapatite Nanoparticles and Preliminary Study of the Synthesis Mechanism
- Preparation of Hollow Aluminum Phosphate and Hollow Iron Phosphate Spheres
- Preparation of Reticu Vitreous Carbon and the Analysis of Crack Formation Mechanism
- A Study on Synthesis, Structures and Properties of Transition Metal-5-sulfoisophthalate Complexes
- Study on Preparation and Properties of Polypyrrole Nanosphere and Polypyrrole/Polymers Conductive Composite
- The Electropolymerization of Conducting Polymer with Lyotropic Liquid Crystal Template