A Generic Intermediate Representation for Verification Condition Generation

被引:3
|
作者
Montenegro, Manuel [1 ]
Pena, Ricardo [1 ]
Sanchez-Hernandez, Jaime [1 ]
机构
[1] Univ Complutense Madrid, Madrid, Spain
关键词
Verification platforms; Intermediate representation; Verification conditions; Program transformation;
D O I
10.1007/978-3-319-27436-2_14
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As part of a platform for computer-assisted verification, we present an intermediate representation of programs that is both language independent and appropriate for the generation of verification conditions. We show how many imperative and functional languages can be translated to this generic intermediate representation, and how the generated conditions reflect the axiomatic semantics of the original program. At this representation level, loop invariants and preconditions of recursive functions belonging to the original program are represented by assertions placed at certain edges of a directed graph. The paper defines the generic representation, sketches the transformation algorithms, and describes how the places where the invariants should be placed are computed. Assuming that, either manually or assisted by the platform, the invariants have been settled, it is shown how the verification conditions are generated. A running example illustrates the process.
引用
收藏
页码:227 / 243
页数:17
相关论文
共 50 条