Research of Function-Summary-Based Inter-Procedural Static Analysis for C++

Author
QiPeng
Advisor
ChenJunLiang
School
Beijing University of Posts and Telecommunications
Major
Computer Science and Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
63
Citations
3

Request the full text

Abstract

With the advance of information technology , the field of software applications are more and more widely , also will increase the complexity of the software itself . How to ensure software quality has been a hot research field of computer technology . This paper studies how global analysis method in a test for the defect mode technology to improve the ability of the test tool . Based on the abstract interpretation theory , proposed the function summary abstract function runtime behavior and characteristics , with the type of function parameters , return values ??, constraints , side effects quad to approximate the function provides a global analysis of the information support . This article in DTS_CPP on the basis of the framework to increase the global type analysis and improve the control flow graph analysis on abnormal path . Relationship between global function call , the draw order of logical dependence between the test file analysis unit , and provide a basis for the calculation of the function summary . Last added in DTS_CPP in function summary calculation module and modify existing defect detection mode , in order to adapt to the global analysis . In addition , the article also design scalable XML language summary of the library functions to solve problems . The designed testing framework for regression , and evaluation DTS_CPP tools , 1836 through the collection and collation of evaluation with the case set and ten open source C / C works to validate the performance and effectiveness of the global analysis framework and algorithm . Experiments come in 10 open source projects average defect density 2/Kloc, and local analysis detected defect density nearly doubled , while the false positive rate is reduced to 40% from 60 % . Full global analysis based on the function summary effectively improve the accuracy of the system to detect defects and reduce the rate of false positives .

Related dissertations

  1. Research on Software Testing Technology Based on Defect Pattern
  2. An Inter-procedural Static Testing Framework Based on Method Summary for Java
  3. Design and Development of a High-speed Heavy-load Palletizing Robot
    CaoJiaZuo ·Tianjin University ·2012 ·Master's thesis
  4. The Design and Analysis of Octahedral Module Deployable Mast
    LiCheng ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
    WangZhiHong ·Anhui University of Engineering ·2013 ·Master's thesis
  6. Compiler-directed Static Analysis and Code Transformation
  7. Static Security Detection of C Applications
  8. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  9. The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
    WangZeMin ·Nanjing Agricultural College ·2013 ·Master's thesis
  10. Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
    ZhangJunLong ·Hefei University of Technology ·2013 ·Master's thesis
  11. Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
  12. Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
    LiuYing ·Harbin Institute of Technology ·2012 ·Master's thesis
  13. Large Steel Structure Natural Draft Cooling Tower of Force Analysis
    WangJin ·East China Jiaotong University ·2013 ·Master's thesis
  14. The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
    WanShunLu ·Guangxi University ·2012 ·Master's thesis
  15. The Analysis of the Structure Stability of Zhongding International Mansion
    WangLi ·Shenyang University ·2012 ·Master's thesis
  16. Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
    PengCaiJie ·Hunan University ·2013 ·Master's thesis
  17. The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
    ZhangZuo ·Tianjin University ·2012 ·Master's thesis
  18. The Research on the Use of Composite Structure in Three-dimensional Garage
    XuZhaoFeng ·Hunan University ·2013 ·Master's thesis
  19. Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo
    GaoCongChao ·Hebei University of Engineering ·2013 ·Master's thesis
  20. Mechanical Behavior Analysis of Large Silos Storage for High Temperature Stored Materials
    SongJing ·Zhejiang University ·2014 ·Master's thesis