2007
DOI: 10.1145/1273442.1250789
|View full text |Cite
|
Sign up to set email alerts
|

Practical memory leak detection using guarded value-flow analysis

Abstract: This paper presents a practical inter-procedural analysis algorithm for detecting memory leaks in C programs. Our algorithm tracks the flow of values from allocation points to deallocation points using a sparse representation of the program consisting of a value flow graph that captures def-use relations and value flows via program assignments. Edges in the graph are annotated with guards that describe branch conditions in the program. The memory leak analysis is reduced to a reachability problem over the guar… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
58
0

Year Published

2013
2013
2022
2022

Publication Types

Select...
4
1
1

Relationship

0
6

Authors

Journals

citations
Cited by 36 publications
(58 citation statements)
references
References 19 publications
0
58
0
Order By: Relevance
“…Though this fix is technically safe, it may not be efficient because the deallocation may be too far from its last use. This problem does not exist in leak detection algorithms [9,12], as a detection in main still detects the leak.…”
Section: B Basic Ideamentioning
confidence: 99%
See 4 more Smart Citations
“…Though this fix is technically safe, it may not be efficient because the deallocation may be too far from its last use. This problem does not exist in leak detection algorithms [9,12], as a detection in main still detects the leak.…”
Section: B Basic Ideamentioning
confidence: 99%
“…As a result, we can treat the body of the loop as an independent procedure and check within the procedure. Many existing approaches on leaks [23,9,12] also only track leaks in one iteration, though the techniques are somewhat different. Fig.…”
Section: ) Loopsmentioning
confidence: 99%
See 3 more Smart Citations