DocumentCode :
596108
Title :
Modular Heap Abstraction-Based Memory Leak Detection for Heap-Manipulating Programs
Author :
Longming Dong ; Ji Wang ; Liqian Chen
Author_Institution :
Nat. Lab. for Parallel & Distrib. Process., Nat. Univ. of Defense Technol., Changsha, China
Volume :
1
fYear :
2012
fDate :
4-7 Dec. 2012
Firstpage :
20
Lastpage :
29
Abstract :
Heap-manipulating programs allow flexible manipulations over dynamically allocated, shared, and mutable heap cells via pointers that point to not only linked data structures but also their pointer fields. Therefore, memory leak detection for these programs requires precise field-sensitive pointer alias information, which make the problem more challenging. In this paper, we present a field and context sensitive algorithm for detecting memory leaks in heap-manipulating programs. First, we propose a modular heap abstraction based on member-access distances and alias bit-vector domain as the escape model of each procedure, Then, based on procedural summaries characterized by this modular heap abstraction, an efficient context-sensitive memory leak detection is proposed in an on-demand way. Experimental evaluation about a set of large C benchmark programs shows that the proposed approach is scalable with satisfied precision as expected.
Keywords :
data structures; storage management; C benchmark program; alias bit-vector domain; context-sensitive memory leak detection; escape model; field-sensitive pointer alias information; flexible manipulation; heap-manipulating program; linked data structure; member-access distance; modular heap abstraction; pointer field; Abstracts; Context; Data structures; Frequency modulation; Leak detection; Semantics; Switches; field and context sensitive analysis; heap-manipulating programs; memory leak detection; modular heap abstraction;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location :
Hong Kong
ISSN :
1530-1362
Print_ISBN :
978-1-4673-4930-7
Type :
conf
DOI :
10.1109/APSEC.2012.35
Filename :
6462634
Link To Document :
بازگشت