DocumentCode :
3026176
Title :
Precise analysis of memory consumption using program logics
Author :
Barthe, Gilles ; Pavlova, Mariela ; Schneider, Gerardo
Author_Institution :
INRIA, Sophia-Antipolis, France
fYear :
2005
fDate :
7-9 Sept. 2005
Firstpage :
86
Lastpage :
95
Abstract :
Memory consumption policies provide a means to control resource usage on constrained devices, and play an important role in ensuring the overall quality of software systems, and in particular resistance against resource exhaustion attacks. Such memory consumption policies have been previously enforced through static analysis, which yield automatic bounds at the cost of precision, or run-time analysis, which incur an overhead that is not acceptable for constrained devices. In this paper, we study the use of logical methods to specify and statically verify precise memory consumption policies for Java bytecode programs. First, we demonstrate how the bytecode specification language (a variant of the Java modelling language tailored to bytecode) can be used to specify precise memory consumption policies for (sequential) Java applets, and how verification tools can be used to enforce such memory consumption policies. Second, we consider the issue of inferring some of the annotations required to express the memory consumption policy, and report on an inference algorithm. Our broad conclusion is that logical methods provide a suitable means to specify and verify expressive memory consumption policies, with an acceptable overhead.
Keywords :
Java; formal specification; formal verification; program diagnostics; software quality; specification languages; storage management; Java applets; Java bytecode program; Java modelling language; bytecode specification language; inference algorithm; memory consumption policy; program logics; resource exhaustion attack; software system quality; static analysis; verification tool; Automatic control; Control systems; Costs; Informatics; Java; Logic devices; Runtime; Security; Software systems; Specification languages;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering and Formal Methods, 2005. SEFM 2005. Third IEEE International Conference on
Print_ISBN :
0-7695-2435-4
Type :
conf
DOI :
10.1109/SEFM.2005.34
Filename :
1575897
Link To Document :
بازگشت