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
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
- Research on Software Testing Technology Based on Defect Pattern
- An Inter-procedural Static Testing Framework Based on Method Summary for Java
- Design and Development of a High-speed Heavy-load Palletizing Robot
- The Design and Analysis of Octahedral Module Deployable Mast
- Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
- Compiler-directed Static Analysis and Code Transformation
- Static Security Detection of C Applications
- The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
- The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
- Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
- Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
- Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
- Large Steel Structure Natural Draft Cooling Tower of Force Analysis
- The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
- The Analysis of the Structure Stability of Zhongding International Mansion
- Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
- The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
- The Research on the Use of Composite Structure in Three-dimensional Garage
- Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo
- Mechanical Behavior Analysis of Large Silos Storage for High Temperature Stored Materials