TY - GEN
T1 - Verified resource guarantees using COSTA and KeY
AU - Albert, Elvira
AU - Bubel, Richard
AU - Genaim, Samir
AU - Hähnle, Reiner
AU - Puebla, Germán
AU - Román-Díez, Guillermo
PY - 2011/3/7
Y1 - 2011/3/7
N2 - Resource guarantees allow being certain that programs will run within the indicated amount of resources, which may refer to memory consumption, number of instructions executed, etc. This information can be very useful, especially in real-time and safety-critical applications. Nowadays, a number of automatic tools exist, often based on type systems or static analysis, which produce such resource guarantees. In spite of being based on theoretically sound techniques, the implemented tools may contain bugs which render the resource guarantees thus obtained not completely trustworthy. Performing full-blown verification of such tools is a daunting task, since they are large and complex. In this work we investigate an alternative approach whereby, instead of the tools, we formally verify the results of the tools. We have implemented this idea using COSTA, a state-of-the-art static analysis system, for producing resource guarantees and KeY, a state-of-the-art verification tool, for formally verifying the correctness of such resource guarantees. Our preliminary results show that the proposed tool cooperation can be used for automatically producing verified resource guarantees.
AB - Resource guarantees allow being certain that programs will run within the indicated amount of resources, which may refer to memory consumption, number of instructions executed, etc. This information can be very useful, especially in real-time and safety-critical applications. Nowadays, a number of automatic tools exist, often based on type systems or static analysis, which produce such resource guarantees. In spite of being based on theoretically sound techniques, the implemented tools may contain bugs which render the resource guarantees thus obtained not completely trustworthy. Performing full-blown verification of such tools is a daunting task, since they are large and complex. In this work we investigate an alternative approach whereby, instead of the tools, we formally verify the results of the tools. We have implemented this idea using COSTA, a state-of-the-art static analysis system, for producing resource guarantees and KeY, a state-of-the-art verification tool, for formally verifying the correctness of such resource guarantees. Our preliminary results show that the proposed tool cooperation can be used for automatically producing verified resource guarantees.
KW - Java
KW - Resource guarantees
KW - Static analysis
UR - https://www.scopus.com/pages/publications/79952158503
U2 - 10.1145/1929501.1929513
DO - 10.1145/1929501.1929513
M3 - Conference contribution
AN - SCOPUS:79952158503
SN - 9781450304856
T3 - PERM'11 - Proceedings of the 20th ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation
SP - 73
EP - 76
BT - PERM'11 - Proceedings of the 20th ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation
T2 - 20th ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, PEPM'11
Y2 - 24 January 2011 through 24 January 2011
ER -