Publication | Closed Access
Automated memory leak detection for production use
50
Citations
37
References
2014
Year
Unknown Venue
Software MaintenanceEngineeringMem TestingComputer ArchitectureSoftware EngineeringMemory Model (Programming)Software AnalysisHardware SecurityParallel ComputingProduction UseMemory ManagementC/c++ Production SoftwareMemory AnalysisComputer EngineeringComputer ScienceAllocated MemoryStatic Program AnalysisMemory LeaksProgram AnalysisSoftware TestingProcess ControlIndustrial InformaticsGarbage CollectionSystem Software
This paper presents Sniper, an automated memory leak detection tool for C/C++ production software. To track the staleness of allocated memory (which is a clue to potential leaks) with little overhead (mostly <3%), Sniper leverages instruction sampling using performance monitoring units available in commodity processors. It also offloads the time- and space-consuming analyses, and works on the original software without modifying the underlying memory allocator; it neither perturbs the application execution nor increases the heap size. The Sniper can even deal with multithreaded applications with very low overhead. In particular, it performs a statistical analysis, which views memory leaks as anomalies, for automated and systematic leak determination. Consequently, it accurately detected real-world memory leaks with no false positive, and achieved an F-measure of 81% on average for 17 benchmarks stress-tested with various memory leaks.
| Year | Citations | |
|---|---|---|
Page 1
Page 1