Publication | Closed Access
A Projection-Based Approach for Memory Leak Detection
14
Citations
11
References
2018
Year
Unknown Venue
Program CheckingEngineeringComputer ArchitectureInformation ForensicsSource Code AnalysisSoftware EngineeringMemory LeakSoftware AnalysisFormal VerificationHardware SecuritySystems EngineeringStatic CheckingMemory Leak DetectionMemory ManagementLeakage (Machine Learning)Source CodeRuntime VerificationMemory AnalysisStatic AnalysisComputer EngineeringComputer ScienceStatic Program AnalysisProgram AnalysisSoftware TestingFormal MethodsC Source CodeSystem Software
One of the major software safety issues is memory leak. Moreover, detecting memory leak vulnerabilities is challenging in static analysis. Existing static detection tools find bugs by collecting programs' information in the process of scanning source code. However, the current detection tools are weak in efficiency and accuracy, especially when the targeted program contains complex branches. This paper proposes a projection-based approach to detect memory leaks in C source code with complex control flows. According to the features of memory allocation and deallocation in C source code, this approach projects the original control flow graph of a program to a simpler one, and it reduces the analysis complexity. Besides, this paper implements a memory-leak detection tool-PML_Checker, and evaluates the tool by comparing with three open-source static detection tools on both public benchmarks and study test cases. The experimental results show that PML_Checker reports the most memory leak vulnerabilities among the four existing tools with complex control flows and complex data types, and PML_Checker obtains higher efficiency and accuracy on public benchmarks.
| Year | Citations | |
|---|---|---|
Page 1
Page 1