DocumentCode
2880362
Title
Heap Memory Requirements Analysis via Separation Logic
Author
He, Guanhua ; Luo, Chenguang
Author_Institution
Dept. of Comput. Sci., Durham Univ., Durham, UK
fYear
2009
fDate
29-31 July 2009
Firstpage
321
Lastpage
322
Abstract
Memory is a constrained resource for software, and memory consumption is an essential factor to evaluate a program´s performance. Therefore, there are existing works which concentrated on the inference of programs´ memory usage. However, previous works mainly exploited type systems to infer programs´ memory consumption, which were weak at handling aliasing information for heap manipulating programs. In this work, we propose an automated inference system for programs´ memory usage based on the framework of Nguyen et al. The system can capture both the maximum requirement and the net usage of memory. We employ a separation logic based forward analysis to track the program´s execution symbolically, and use symbolic Presburger arithmetic expressions to express the effect of allocation and deallocation in heap memory. Our approach is sound, and is also expected to provide more precision and scalability than previous works.
Keywords
data structures; formal logic; inference mechanisms; program diagnostics; reasoning about programs; storage allocation; symbol manipulation; Nguyen framework; automated inference system; constrained resource consumption; heap memory deallocation; heap memory requirements analysis; program memory consumption; program performance evaluation; separation logic; symbolic Presburger arithmetic expression; Computer science; Constraint theory; Data structures; Embedded system; Helium; Hydrogen; Logic; Performance analysis; Scalability; Software engineering; memory safety; program analysis; separation logic;
fLanguage
English
Publisher
ieee
Conference_Titel
Theoretical Aspects of Software Engineering, 2009. TASE 2009. Third IEEE International Symposium on
Conference_Location
Tianjin
Print_ISBN
978-0-7695-3757-3
Type
conf
DOI
10.1109/TASE.2009.60
Filename
5198531
Link To Document