Title of article :
Symbolic Pointer Analysis for Detecting Memory Leaks
Author/Authors :
Scholz، Bernhard نويسنده , , Blieberger، Johann نويسنده , , Fahringer، Thomas نويسنده ,
Issue Information :
روزنامه با شماره پیاپی سال 1999
Pages :
-103
From page :
104
To page :
0
Abstract :
It is well accepted that pointers are a common source of memory anomalies such as loosing references to dynamic records without deallocating them (also known as memory leaks). This paper presents a novel pointer analysis framework that detects memory leaks by statically analyzing the behavior of programs. Our approach is based on symbolic evaluation of programs. Symbolic evaluation is an advanced static symbolic analysis that is centered around symbolic variable values, assumptions about and constraints between variable values, and control flow information (path conditions). As part of symbolic evaluation we introduce a new symbolic heap algebra for modeling heap operations. Predicates - defined over the programʹs input - are derived which allow to detect memory leaks. Our approach goes beyond previous work in the field of statically detecting memory leaks by considering also path conditions which increases the accuracy of our results, symbolically modeling heap data structures and heap operations. Examples are used to illustrate the effectiveness of our approach.
Keywords :
Visitor Pattern , Separation of Concerns , Recursive Programming
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Serial Year :
1999
Journal title :
A C M Sigplan (Programming Languages) Sigplan Notices
Record number :
17085
Link To Document :
بازگشت