DocumentCode
2347048
Title
Stack Bound Inference for Abstract Java Bytecode
Author
Wang, Shengyi ; Qiu, Zongyan ; Qin, Shengchao ; Chin, Wei-Ngan
Author_Institution
Dept. of Inf., Peking Univ., Beijing, China
fYear
2010
fDate
25-27 Aug. 2010
Firstpage
57
Lastpage
66
Abstract
Ubiquitous embedded systems are often resource-constrained. Developing software for these systems should take into account resources such as memory space. In this paper, we develop and implement an analysis framework to infer statically stack usage bounds for assembly-level programs in abstract Java Byte code. Our stack bound inference process, extended from a theoretical framework proposed earlier by some of the authors, is composed of deductive inference rules in multiple passes. Based on these rules, a usable tool has been developed for processing programs to capture the stack memory needs of each procedure in terms of the symbolic values of its parameters. The final result contains path-sensitive information to achieve better precision. The tool invokes a Presburger solver to perform fixed point analysis for loops and recursive procedures. Our initial experiments have confirmed the viability and power of the approach.
Keywords
Java; inference mechanisms; program assemblers; program control structures; program diagnostics; Presburger solver; abstract Java bytecode; assembly-level program; deductive inference rule; fixed point analysis; recursive procedure; stack bound inference process; ubiquitous system; Data structures; Embedded system; Estimation; Java; Syntactics; Watermarking; Fixpoint Analysis; Java Bytecode; Memory Inference; Program Analysis; Stack Boundary; Tool;
fLanguage
English
Publisher
ieee
Conference_Titel
Theoretical Aspects of Software Engineering (TASE), 2010 4th IEEE International Symposium on
Conference_Location
Taipei
Print_ISBN
978-1-4244-7847-7
Type
conf
DOI
10.1109/TASE.2010.24
Filename
5587727
Link To Document