Research on Application of Formal Method to Reverse Engineering

Author
MaZhuGen
Advisor
HeZuo
School
Changsha University of Science and Technology
Major
Applied Computer Technology
Classification
TP391.7 Machine-assisted technology
Degree
Master's thesis
Year
2006
Downloads
198
Citations
1

Request the full text

Abstract

With the rapid development of computer technology, more and more legacy systems were produced. Maintaining and upgrading these systems have long been a problem faced by software engineers. It is necessary to use the technology of reverse engineering to analysis the structure and behavior of the current system in order to maintain and re-engineering the legacy systems. Reverse engineering is the process of analyzing a system to identify the components and their relationships and create representations of the system in another form or at a higher level of abstraction, which can help engineers understand and reconstruct software system.Formal methods in software development provide many benefits in the forward engineering. A benefit of formal methods is that their notations are well-defined and thus, are amenable to automated processing.One method for introducing formal methods, and therefore taking advantage of the benefits of formal methods is through the reverse engineering of existing program code into formal specifications.This paper describes an approach to reverse engineering based on the formal semantics of the strongest postcondition predicate transformer,and the partial correctness model of program semantics introduced by Hoare. The main point of our investigation is how to use informal and formal methods for reverse engineering. The approach provided by this thesis is mainly to process the C program system for reverse engineering. In the thesis we defined the assignment rule, alternation rule, iteration rule, sequence rule and function rule according to the basic syntax structures of C programs and set up an axiom system of C programs. The process of reverse engineering is introduced through an instance, C-Minus (a simplified C language). In reverse engineering, the abstract syntax tree is generated by lexical analysis and syntax analysis from source code. The template information is extracted from structured source code, which is represented by a binary tree. Then the binary tree is translated into the P A D (Problem Analysis Diagram) according to the designed algorithm. After structured analysis, the statements of key source code will be scanned, and each statement will be translated into formal specification according to the strongest postcondition semantics of the basic structure.

Table of contents

The originality thesis statement 4, thesis, using the power of attorney 4-5 Summary 5-6 ABSTRACT 6 - 9 first chapter 9-13 1.1 Background the 1.2 Research nbsp 9-10 ; 10-11 1.3 this article The main work the 11-12 1.4 paper tissue 12-13 Chapter II reverse engineering technology 13-20 2.1 reverse engineering the concept the 13-14 2.2 reverse engineering goal 14 2.3 reverse engineering process 14-16 2.4 reverse engineering technology classification 16-17 2.5 reverse engineering research methods of 17-18 2.6 reverse engineering applications 18-20 Chapter formal methods 20-26 3.1 Overview 20 3.2 Formal Methods of Classification and characteristics 20-22 3.3 program semantics formal description 22 - 26 Chapter reverse engineering application of the strongest postcondition 26-31 4.1 assignment statement 26-27 4.2 select statement 27 4.3 sequence statement the 27-28 4.4 loop statement the 28-30 4.5 function calls 30-31 Chapter based formal methods of the reverse engineering of C programs 31-39 5.1 the C procedures strongest postcondition formal semantics 31-36 5.2 formal methods applied to the C program Reverse engineering 36-39 Chapter C program design and application of reverse engineering tools 39-55 6.1 structured program with PAD Figure 39-41 6.2 Reverse tool the PADT analysis process 6.3 lexical analysis of 41 the 41-44 6.4 parsing 44-49 6.5 tectonic PAD diagram 49-53 6.6 form of the Statute of the generated 53 6.7 application examples 53-55 Conclusion 55-56 < br /> 1. article summarizes 55 further work to References 55-56 56-59 Acknowledgements 59-60 Appendix A (academic papers published during degree) 60-61 the Chinese detailed summary 61-71

Related dissertations

  1. Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
    XuHongWen ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  2. Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
  3. Research on Data Preprocessing Algorithms in Reverse Engineering and Its Software Implementation
    YeDongRong ·Hefei University of Technology ·2014 ·Master's thesis
  4. Design and Implementation of Surface Detection Platform Based on Fiber Optic Displacement Sensor
  5. Research of Triangle Mesh Model Data Processing Technology Based on Mixed Blend Feature in Reverse Engineering
    ChenJie ·Fuzhou University ·2011 ·Doctoral dissertation
  6. Research on the Key Technologies for Surface Reconstruction from Discrete Point Cloud
  7. Point Cloud Reconstruction Based on Intelligent Optimization
    XuLi ·University of Jinan ·2013 ·Master's thesis
  8. Research on Key Technologies of CMM and Line Structured Light Vision Sensor Integrated Reverse Engineering System
    YangXueRong ·Guangdong University of Technology ·2013 ·Doctoral dissertation
  9. Research on the Key Technologies of Point Model Process with Primitive Geometry
    LiuGuangShuai ·Southwest Jiaotong University ·2012 ·Doctoral dissertation
  10. Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
  11. Research on C/S Architectural Style Based on XYZ/SE
    LiuManXia ·Hunan University ·2013 ·Master's thesis
  12. Research on Binary Code Path Obfuscation
    WangZhi ·Nankai University ·2012 ·Doctoral dissertation
  13. Research of Mac OS X Endpoint Data Leak Prevention
  14. Engine Bonnet's Model Reconstruction and Pedestrian Protection's Research Based on the Reverse Engineering
    DengQuanGang ·Liaoning Technical University ·2013 ·Master's thesis
  15. The Car of Pedal Bracket as the Representative of Complex Workpiece on Reverse Engineering
  16. The Vehicle Foot Pedal Bracket Reverse Construction Method Research
  17. Research on Modeling Method of Jeep Outer Cover Based on Reverse Engineering
  18. Safety Study of the Roof of the Automobile Based on the Reverse Engineering
    YangXinYuan ·Liaoning Technical University ·2013 ·Master's thesis
  19. The Research of Reverse Design for the Large Structure
  20. Researchon Modeling and Optimization Method of Complex Ergonomics Surface Based on Revers Engineering
    GouHe ·Inner Mongolia University of Technology ·2013 ·Master's thesis