DocumentCode
1996311
Title
A Heap Model for Java Bytecode to Support Separation Logic
Author
Luo, Chenguang ; He, Guanhua ; Qin, Shengchao
Author_Institution
Dept. of Comput. Sci., Durham Univ., Durham, UK
fYear
2008
fDate
3-5 Dec. 2008
Firstpage
127
Lastpage
134
Abstract
Memory usage analysis is an important problem for resource-constrained mobile devices, especially under mission- or safety-critical circumstances. Program codes running on or being downloaded into such devices are often available in low-level bytecode forms. We propose in this paper a formal heap model for Java bytecode language, on top of which we can then provide separation logic support for further memory usage verification. Our low-level heap model for Java bytecode would allow us to reason about the size and alignment properties of primitive values stored in the heap. To support type-related reasoning such as guaranteeing type and alignment safety, this model is also lifted with both base types and user-defined classes. Based on such model, we have also defined a separation logic proof system whose assertions are interpreted using the lifted heap with types. We envision, with further extension, the system would provide good support for memory usage analysis and verification for mobile devices.
Keywords
Java; formal verification; mobile computing; reasoning about programs; storage management; theorem proving; Java bytecode; heap model; memory usage analysis; memory usage verification; resource-constrained mobile devices; separation logic proof system; type-related reasoning; Computer science; Helium; Java; Logic devices; Mobile computing; Safety; Security; Shape; Software engineering; Virtual machining;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2008. APSEC '08. 15th Asia-Pacific
Conference_Location
Beijing
ISSN
1530-1362
Print_ISBN
978-0-7695-3446-6
Type
conf
DOI
10.1109/APSEC.2008.72
Filename
4724540
Link To Document