A Static Analysis Mechanism of C++ Programs Based on the Open Compilation Technique

Author
LiuPengFei
Advisor
ChenPing
School
Xi'an University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
69
Citations
1

Request the full text

Abstract

With the increasing complexity of software systems , software development , maintenance and evolution of most of the work and the major cost is concentrated in the understanding of the existing system . Reverse engineering is an important means of an aid program comprehension is an important branch of software engineering , it abstract of their senior auxiliary program comprehension by static and dynamic information of the extraction procedure . This article describes the basic principles of software reverse engineering and Research , depth analysis based reflective technology open compiler OpenC . By modifying the source code , expansion the MOP interface , successfully transformed into the OpenC program analysis tools . Depth static analysis of the information obtained can be used to not only restore the static model of the system , can also be used to directly recover the UML2.0 standard sequence diagram and auxiliary implanted on the target system through the tool on the target system . All the methods proposed in the paper , the algorithms have been implemented in XDRE (XiDian Reverse Engineering, the Western Electric reverse engineering ) tool .

Table of contents

Abstract 3-4 Abstract 4-7 The first chapter 7-14 1.1 reverse engineering 7-10 1.1.1 The importance of reverse engineering 7-8 1.1.2 reverse engineering research methods and objectives 8 1.1.3 Reverse tool status quo at home and abroad 8-10 1.2 Project Background 10-12 1.3 project description 12-13 1.3.1 Project briefs 12-13 1.3.2 Project progress 13 1.4 This work and thesis structure 13-14 Chapter related theory and technology 14-27 2.1 reflective technology 14-19 2.1.1 reflection concept 14-15 2.1.2 reflection principle 15-17 2.1.3 reflection model 17-19 2.2 open compiler OpenC 19-24 2.2.1 OpenC Profile 19-20 2.2.2 OpenC works 20 2.2.3 OpenC support for static analysis 20-23 2.2.4 OpenC MOP analysis 23-24 2.3 UML 2.0 24-27 2.3.1 UML Overview 24-25 2.3.2 UML2.0 sequence diagram in improvements 25-27 Chapter class information extraction method 27-33 3.1 对 OpenC expansion strategy 27-29 3.2 class information extraction 29-30 3.2.1 correctly distinguish between structures, unions, classes and templates 29 3.2.2 OpenC extract relevant information with the class interface 29-30 3.2.3 access properties and methods return value type 30 3.2.4 for the type of information to support hierarchical abstraction 30 3.3 class information storage 30-31 3.4 Case Study 31-32 3.4.1 test 31-32 3.4.2 Analysis 32 3.5 Summary 32-33 Chapter sequence diagram information extraction method 33-50 4.1 sequence diagram traditional recovery methods 33-34 4.2 UML2.0 sequence diagrams related concepts 34-36 4.2.1 The main elements of the sequence diagram 34-35 4.2.2 frame elements (Frame Element) 35 4.2.3 combined fragments (Combined Fragment) 35-36 4.3 对 OpenC expansion strategy 36-37 4.4 Static analysis sequence diagrams extracted information 37-46 4.4.1 Sequence diagram information extraction algorithm 38-40 4.4.2 Support for dynamically 40-42 4.4.3 Definition of static program dependence graph 42-44 4.4.4 static program dependence graph information access 44-46 4.5 Case Study 46-49 4.5.1 test 46 4.5.2 Analysis 46-49 4.6 Chapter Summary 49-50 Chapter Summary and Outlook 50-52 Thanks 52-53 References 53-55 during the reading papers 55-56

Related dissertations

  1. Reverse Engineering Method Based-on Abstract Implement Structure Graph
    KeHengJin ·Shantou University ·2007 ·Master's thesis
  2. Research on Static and Dynamic Combined Analysis in Object-Oriented Reverse Engineering
  3. Analysis of Mechanism and Affection Factors for FDI Technology Spillovers
    XuHongWen ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  4. Study on Three-Dimensional Digital Measurement Technology Based on Reverse Engineering
  5. Research on Data Preprocessing Algorithms in Reverse Engineering and Its Software Implementation
    YeDongRong ·Hefei University of Technology ·2014 ·Master's thesis
  6. Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
    KongJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Design and Implementation of Surface Detection Platform Based on Fiber Optic Displacement Sensor
  8. The Design and Implementation of Website Construction Based on OpenCms Technology
  9. Research of Triangle Mesh Model Data Processing Technology Based on Mixed Blend Feature in Reverse Engineering
    ChenJie ·Fuzhou University ·2011 ·Doctoral dissertation
  10. Research on the Key Technologies for Surface Reconstruction from Discrete Point Cloud
  11. Point Cloud Reconstruction Based on Intelligent Optimization
    XuLi ·University of Jinan ·2013 ·Master's thesis
  12. Research on Key Technologies of CMM and Line Structured Light Vision Sensor Integrated Reverse Engineering System
    YangXueRong ·Guangdong University of Technology ·2013 ·Doctoral dissertation
  13. Research on the Key Technologies of Point Model Process with Primitive Geometry
    LiuGuangShuai ·Southwest Jiaotong University ·2012 ·Doctoral dissertation
  14. Based on the Atos Profiled Morphorpholgy Detection and Reverse Technology Research
  15. Design and implementation of hotel management system based on UML
  16. Design and Implementation of Materials Management System of Multi-level Educational Institutions
    PeiZhiChao ·Northeastern University ·2013 ·Master's thesis
  17. Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
    MaShiTao ·Shandong University ·2013 ·Master's thesis
  18. The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
    LinYan ·Dalian University of Technology ·2013 ·Master's thesis
  19. Design and Implementation of Tianhua College Office System
    JieJian ·Dalian University of Technology ·2013 ·Master's thesis
  20. Universities Fixed Asset Lifecycle Management System Design
    JiangChuanLin ·Dalian University of Technology ·2013 ·Master's thesis