Studying verification conditions for imperative programs
Abstract
Program verification tools use verification condition generators to produce logical formulas whose validity implies that the program is correct with respect to its specification. Different tools produce different conditions, and the underlying algorithms have not been properly exposed or explored so far. In this paper we consider a simple imperative programming language, extended with assume and assert statements, to present different ways of generating verification conditions. We study the approaches with experimental results originated by verification conditions generated from the intermediate representation of LLVM.
Full text
Electronic Communications of the EASST Volume 72 (2015) Proceedings of the 15th International Workshop on Automated Verification of Critical Systems (AVoCS 2015) Studying Verification Conditions for Imperative Programs Cl´ audio Belo Lourenc¸o and Si-Mohamed Lamraoui and Shin Nakajima and Jorge Sousa Pinto 15 pages Guest Editors: Gudmund Grov, Andrew Ireland ECEASST Home Page: http://www.easst.org/eceasst/ ISSN 1863-2122
ECEASST Studying Verification Conditions for Imperative Programs Cl´ audio Belo Lourenc¸o2and Si-Mohamed Lamraoui1and Shin Nakajima1and Jorge Sousa Pinto2 National Institute of Informatics, Japan1 HASLab/INESC TEC & Universidade do Minho, Portugal2 Abstract: Program verification tools use verification condition generators to produce logical formulas whose validity implies that the program is correct with respect to its specification. Different tools produce different conditions, and the underlying algorithms have not been properly exposed or explored so far. In this paper we consider a simple imperative programming language, extended with assume and assert statements, to present different ways of generating verification conditions. We study the approaches with experimental results originated by verification conditions generated from the intermediate representation of LLVM. Keywords: software verification, LLVM, bounded verification, single-assignment 1 Introduction Formal verification of programs is an approach to achieve required reliability levels of softwareintensive systems. Given a correctness criterion, expressed as a set of assertions, we generate a formula in a suitable logic that encodes all potential execution paths together with the assertions (cf. [AFPS11]). Such a formula, known as a verification condition (VC), is then sent to a proof tool. If the proof succeeds, then we can conclude that the program under analysis satisfies the given correctness criterion. If it does not succeed, we hopefully extract as much information as possible to debug the program and/or the specification. In the early days the reasoning methods relied on manual proof (cf. [LSS87]). Introducing some automation then became one of the major topics in the subject matter [FLL+02]. With the advancement of Boolean satisfiability (SAT) methods [MMZ+01] and the successful introduction of bounded model checking (BMC) [CKY03], program verification methods also adopted the SAT [CKL04] and the satisfiability modulo theories (SMT) [DM06] approaches to automated proof. If the VC refers to a formula in a decidable sub-fragment of a first-order theory, it is automatically discharged. Whether with manual or with automatic proofs, the VC encoding is crucial for the efficiency and precision of the program verification method. Precision here refers to how much detailed information is obtained for debugging if the VC is not satisfied. Indeed, many different methods for generating VCs are used by existing program verification tools [CKL04,AMP08,MFS12, BCD+06,FP13]. In spite of this large diversity, systematic analyses of such VCs are lacking so far. Users may experience that a certain tool, adapting a certain encoding of VCs, is efficient for particular classes of programs, but not so well suited to other types of programs. 1 / 15 Volume 72 (2015)
Studying Verification Conditions for Imperative Programs We have developed a tool infrastructure for systematic analyses of various VCs. Although the algorithm employed to generate VCs is different for each method, many components in the tool are common, such as the parser, the intermediate representation, and the interface to the backend solver. The algorithm to generate different VCs can be plugged into the framework. Since we can focus on a specific generation algorithm, comparing VCs can be transparent. We used the LLVM compiler infrastructure [LA04] as host, and developed our framework on top of it. The first contribution of this paper is the presentation of different algorithms that generate VCs using different methods. Although the algorithms are standard in software verification, as far as we know, they have never been systematically presented – they are normally formalized using different notations and formalisms, or they are not formalized at all. With a common formalization we can highlight the differences on the generated VCs and reason about them. This paper also reports empirical results from a study we have conducted with several VC generation algorithms implemented in our framework. The study reinforces the impression, from our use of various program verification tools mentioned above, that the choice of a method is not irrelevant. Furthermore, our study shows that choosing the most efficient VCs is not an easy task – no algorithm is better than the others in most situations – and that using proved assert statements as lemmas can improve solving time significantly. This paper is organized as follows: Section 2reviews the background. Section 3describes several algorithms to generate VCs. In Section 4after presenting the VCs comparison framework, we present our empirical results. Section 5concludes the paper. 2 Background Program verification tools are generally divided into two main categories: deductive verification tools [BCD+06,FP13] and model checking tools [JM09] (a third important category of tools is that of abstract interpretation-based program analyzers, which fall outside the scope of our paper since they are not based on VC generation). While the former allows for a rich and expressive system of annotations through the use of first-order logic, the latter only allows simple quantifier-free properties to be used. In deductive verification, specifications are normally given as contracts (such as preconditions and postconditions of subprograms), as well as loop invariants, which are in general very difficult to generate automatically in a way that allows correctness to be proved. Although loop invariants are mandatory for the verification to proceed, in general user intervention is required in order to find them. In model checking, the verification process can proceed in a fully automatic way by automatically inserting properties (namely safety checks, such as overflow, division by zero, array out-of-bounds checks, etc.), or else, by inserting simple properties through the use of assume and assert statements. An assume statement is used to indicate that a property should be considered to hold at a given point of the program, and assert statements are used to check if a property is true at a given location. The price to pay for automation in model checking is the lack of scalability due to statespace explosion [JM09]. To address this problem, two different approaches have been proposed along the years, which increase scalability either by sacrificing completeness (possibly reporting false alarms) in the case of abstraction techniques [JM09], or else by sacrificing soundness (considering only bounded executions) in the case of bounded model checking of soft- Proc. AVoCS 2015 2 / 15
ECEASST assume ( n >= 0 ) ; pp := 0 ; p : = 1 ; i : = 2 ; i f ( n == 0) r := pp e l s e r := p ; whi l e ( i <= n ){assert(pp <= p ) ; r := p + pp ; pp := p ; p := r ; i : = i + 1 ; } assume ( n0>= 0 ) ; pp0:= 0 ; p0: = 1 ; i 0: = 2 ; i f ( n0== 0) r 1: = pp0else r2:= p0; r3:= ( n0== 0) ? r1: r 2; i f ( i 0<= n0){assert (pp0<= p0) ; r4:= p0+ pp0; pp1:= p0; p1:= r4; i1:= i 0+ 1 ; assume ( ! ( i 1<= n0)); } r5:= ( i 0<= n0) ? r 4: r3; pp2:= ( i 0<= n0) ? pp1: pp0; p2:= ( i 0<= n0) ? p1: p0; i2:= ( i 0<= n0) ? i 1: i 0; Figure 1: Fibonacci function (left) and its conversion to SSA after unwinding loop once (right) ware [CKL04,AMP08,MFS12]. The latter technique generates potentially very large VCs, since it is based on loop unfolding, and for this reason the choice of a VC generation method may be particularly relevant. In spite of the fundamental differences between deductive verification and BMC, the techniques also share many similarities. In both cases, state-of-the-art tools rely on the conversion of standard programs to an intermediate single-assignment form, from which a specific algorithm, called a verification condition generator (VCGen), generates VCs in the form of logical formulas. These VCs must then be discharged, that is, they must be sent to a solver for validity checking. If they are valid, the program is correct with respect to its specification. In this paper, we will focus on single-assignment programs with no loops. Note, however, that we are not limiting our approach – programs with loops can be transformed into programs free of loops that can be verified instead of the original. In BMC tools (e.g. CBMC [CKL04]), loops are unwound ktimes (where kis given by the user or fixed/inferred by the tool) and an assume statement is inserted to ignore executions requiring further iterations. An alternative that generates sound VCs as opposed to BMC, is described in [BL05] and implemented in Boogie [BCD+06]. Loops are replaced by a series of statements that simulates an arbitrary iteration of the loop. Here, loop invariants are required to restrict the verification to feasible iterations. In this paper we will focus exclusively on the BMC approach, because it generates larger VCs, resulting in more interesting formulas for our evaluation. The basic principle of single-assignment (SA) forms is that once a variable has been used, it cannot be assigned. The most popular SA form, Static Single-Assignment (SSA) [CFR+91], has been part of compiler pipelines for decades, and more recently it has been used in software verification tools. In this form each variable in a program can be assigned at most once. To synchronize variables assigned in branching blocks, Phi-functions (often replaced by conditional expressions) are used to capture the correct values at the merging point. An alternative approach, known as Dynamic Single-Assignment (DSA) form (e.g. [BL05,CFP12]), allows variables to be assigned more than once, as long as it is in different execution paths. The example shown in Figure 1(left) calculates the n-th Fibonacci number. On the right we show the result of unwinding the loop once and converting it to SSA form, following the BMC approach. The first assume statement is used as a precondition to specify that the verification 3 / 15 Volume 72 (2015)
Studying Verification Conditions for Imperative Programs VCse :Γ∗×Comm →Γ∗×Γ∗ VCse(Φ,skip) = (Φ,/0) VCse(Φ,x:=e) = ({φ∧x=e|φ∈Φ},/0) VCse(Φ,assumeθ) = ({φ∧θ|φ∈Φ},/0) VCse(Φ,S1;S2) = (Φ2,V1∪V2) where (Φ1,V1) = VCse(Φ,S1) (Φ2,V2) = VCse(Φ1,S2) VCse(Φ,if bthen Stelse Sf) = (Φt∪Φf ,Vt∪Vf) where (Φt ,Vt) = VCse({φ∧b|φ∈Φ},St) (Φf ,Vf) = VCse({φ∧¬b|φ∈Φ},Sf) VCse(Φ,assertθ) = (Φ,{φ→θ|φ∈Φ}) VCsp :Γ×Comm →Γ×Γ∗ VCsp(φ,skip) = (>,/0) VCsp(φ,x:=e) = (x=e,/0) VCsp(φ,assumeθ) = (θ,/0) VCsp(φ,S1;S2) = (F1∧F2,V1∪V2) where (F1,V1) = VCsp(φ,S1) (F2,V2) = VCsp(φ∧F1,S2) VCsp(φ,if bthen Stelse Sf) = ((b∧Ft)∨(¬b∧Ff),Vt∪Vf) where (Ft ,Vt) = VCsp(φ∧b,St) (Ff ,Vf) = VCsp(φ∧¬b,Sf) VCsp(φ,assertθ) = (>,{φ→θ}) Figure 2: SE (left) and SP (right) auxiliary functions procedure should only consider executions where nis greater than or equal to 0 (to perform modular verification, the same property must be checked with an assert statement at each calling point). The assert statement is used to check a basic property that in the recurrence relation of the Fibonacci sequence corresponds to Fn−2≤Fn−1. The second assume statement is introduced when the loop is unwound; its role is to cause executions requiring more iterations to be ignored. 3 Verification Condition Generators This section presents different VCGens for SA programs whose loops and function calls have been previously removed as explained in the previous section. The presented VCGens are sound and can be used interchangeably. We will be considering an elementary SA language of branching programs with integer type expressions, whose commands are as follows: Comm 3C::=skip |assumeθ|C;C|x:=e|if bthen Celse C|assertθ with xranging over a set of SA variables, eover integer expressions, and band θover Boolean expressions (θmay range instead over some richer assertion language, for instance in the context of deductive verification). We do not fix the language of integer and Boolean expressions, but we do restrict it to be a language that can be encoded in the chosen backend solver. The VCGens will take as input a command C∈Comm, and will return a set of VCs in the form of logical formulas (in what follows we denote those as Γ) whose validity implies that the program is correct. The program in Figure 1will be used as a running example to show differences in the generated VCs. For more details about theoretical aspects, such as soundness results, refer to [BFS15]. 3.1 Symbolic Execution Symbolic execution (e.g. [JMNS12]) is the simplest way of generating VCs. The approach consists of generating a VC for every single execution path that reaches an assert statement, such that the validity of each VC ensures that executions going through the encoded path satisfy the assert statement. To prove that a program is fully correct, a VC for each possible execution path and each assert statement must be generated and then discharged. Proc. AVoCS 2015 4 / 15
ECEASST Definition 1 (SE VCGen) Given an SA program C, its Symbolic Execution VCs are given by the set Vwhere (E,V) = VCse(/0,C), and VCse is the function given in Figure 2(left). Function VCse in Figure 2receives an extra parameter in addition to the input program and also returns an extra formula in addition to the set of VCs. The extra parameter corresponds to the encoding of the part of the program that precedes the current statement. The extra formula is composed by the conjunction of the received formulas, with the encoding of the current statement. When an assert statement is encountered, the extra parameter contains the encoding of all possible execution paths that reach this assert statement. A VC will be generated for each of these paths. The generated SE VCs for our running example are as follows: VC1 : n0≥0∧pp0=0∧p0=1∧i0=2∧n0=0∧r1=pp0∧r3= ((n0=0)?r1:r2)∧i0≤n0→pp0≤p0 VC2 : n0≥0∧pp0=0∧p0=1∧i0=2∧ ¬(n0=0)∧r2=p0∧r3= ((n0=0)?r1:r2)∧i0≤n0→pp0≤p0 The first VC corresponds to executions going through the then branch in the first if statement, and the other to executions going through the else branch. Even though the generated VCs are only two and they are relatively small in this case, it is important to note that the number of paths is, in the worst case, exponential with respect to the size of the program, and so is the number of generated VCs [CFP12]. 3.2 Efficient Strongest Postcondition The weakest precondition (WP) and strongest postcondition (SP) predicate transformers introduced by Dijkstra [Dij76] for his guarded commands language may also be used to generate VCs. These techniques predate symbolic execution, and in their original form do not require the program to be transformed into an SA form. For non-SA programs the technique produces VCs whose size is, in the worse case, exponential with respect to the size of the program. Flanagan and Saxe showed that when the technique was applied to SA programs, the size of the generated VCs was, in the worst case, quadratic [FS01]. In this paper we focus exclusively on SP VCs for SA programs. Due to lack of space we omit the discussion of WP which generates similar VCs. Definition 2 (SP VCGen) Given an SA program C, its Strongest Postcondition VCs are given by Vwhere (E,V) = VCsp(>,C), and VCsp is the function given in Figure 2(right). Definition 2differs slightly from the standard definition of SP, because the asserted properties are not being introduced into the context – we leave this discussion for Section 3.5. The function VCsp, similarly to VCse (Figure 2), receives an auxiliary parameter and returns an extra formula containing exclusively the encoding of the present statement. The part of the program that has already been encoded is now propagated by the if and sequence rules. A disjunction is introduced to encode each branching statement. The generated SP VC for our running example is as follows: n0≥0∧pp0=0∧p0=1∧i0=2∧((n0=0∧r1=pp0)∨(¬(n0=0)∧r2=p0)) ∧r3= (n0=0?r1:r2)∧i0≤n0→pp0≤p0 3.3 Conditional Normal Form In the context of BMC, after unwinding loops, inlining function calls and converting the code to an SA form, VCs are generated by performing a series of transformations on the code. In particular the following rules are applied to conditional branches: 5 / 15 Volume 72 (2015)
Studying Verification Conditions for Imperative Programs VCcnf :Γ×Γ∗×Comm →Γ∗×Γ∗ VCcnf (π,C,skip) = (/0,/0) VCcnf (π,C,x:=e) = ({π→x=e},/0) VCcnf (π,C,assumeθ) = ({π→θ},/0) VCcnf (π,C,S1;S2) = (C1∪C2,P1∪P2) where (C1,P1) = VCcnf (π,C,S1) (C2,P2) = VCcnf (π,C∪C1,S2) VCcnf (π,C,if bthen Stelse Sf) = (Ct∪Cf ,Pt∪Pf) where (Ct ,Pt) = VCcnf (π∧b,C,St) (Cf ,Pf) = VCcnf (π∧ ¬b,C,Sf) VCcnf (π,C,assertθ) = (/0,{π→θ}) VCscnf :Γ×Γ∗×Comm →Γ∗×Γ∗ VCscnf (π,C,skip) = (/0,/0) VCscnf (π,C,x:=e) = ({x=e},/0) VCscnf (π,C,assumeθ) = ({π→θ},/0) VCscnf (π,C,S1;S2) = (C1∪C2,P1∪P2) where (C1,P1) = VCscnf (π,C,S1) (C2,P2) = VCscnf (π,C∪C1,S2) VCscnf (π,C,if bthen Stelse Sf) = (Ct∪Cf ,Pt∪Pf) where (Ct ,Pt) = VCscnf (π∧b,C,St) (Cf ,Pf) = VCscnf (π∧ ¬b,C,Sf) VCscnf (π,C,assertθ) = (/0,{π→θ}) Figure 3: CondNF (left) and SCondNF (right) auxiliary functions 1. if bthen C1else C2=⇒if bthen C1;if ¬bthen C2 2. if bthen {C1;C2}=⇒if bthen C1;if bthen C2 3. if b1then if b2then C=⇒if b1∧b2then C Note that these transformations would not be sound in a standard imperative program (a program not in SA form). For instance, in the case 1above, the execution of C1could modify some variable used in bcausing both branches of the conditional branch to be executed. Since in the SA form, once a variable has been used cannot be assigned, we have a sound transformation. After the above transformations the program consists of a sequence of conditional statements of the form if bthen C, with Can atomic (assignment, assume, or assert) statement. This is the so-called conditional normal form (CondNF) of an SA program. From this form, it is easy to extract a VC. In this paper, instead of applying each transformation individually, we present an algorithm that internally captures the above transformations with a single pass through the program and generates the corresponding VC. Definition 3 (CondNF VCGen) Given an SA program C, its Conditional Normal Form VC is the formula VE→VP, where (E,P) = VCcnf (>,/0,C), and VCcnf is the function given in Figure 3(left). The VCcnf takes two parameters in addition to the program. The first contains the path condition for the present statement to be reached. The second, which is not being used in this definition, contains the encoding of the program up to the present statement. The set Econtains the operational encoding of the program (assignment statements) and assume statements, and the set Pcontains the asserted properties. Regardless of the number of execution paths and the number of properties, only one VC, whose size is in the worse case quadratic, is generated [CFP12]. The use of a single global context implies that the semantics of assume statements is different from the previous techniques: whereas before an assume statement dispensed executions from having to pass subsequent assert statements, in the CondNF the use of a global context means that an assume statement now dispenses executions from passing any of the assert statements Proc. AVoCS 2015 6 / 15
ECEASST they meet. An alternative approach consists of generating multiple VCs with partial contexts – each assert property is only implied by the relevant part of the program. This can be done by generating a VC each time an assert statement is encountered – recall that the second parameter in the auxiliary function VCcnf contains the encoding of the program up to the present statement. Definition 4 (PCondNF VCGen) Given an SA program C, its Partial context Conditional Normal Form VCs are given by V, where (E,V) = VCpcnf (>,/0,C), and VCpcnf is the function in which VCpcnf (π,C,assertθ) = (/0,VC→π→θ)and VCpcnf (π,C,S) = VCcnf (π,C,S), for S∈Comm\assert and VCcnf given in Figure 3(left). For our running example, VCcnf produces the following sets of formulas which are then used by CondNF VCGen (Definition 3) to generate a VC: E={> → n0≥0,> → pp0=0,> → p0=1,> → i0=2,n0=0→r1=pp0,¬(n0=0)→r2=p0,> → r3= ((n0=0)?r1:r2), i0≤n0→r4=p0+pp0,i0≤n0→pp1=p0,i0≤n0→p1=r4,i0≤n0→i1=i0+1,i0≤n0→ ¬(i1≤n0), > → r5= (i0≤n0)?r4:r3,> → pp2= (i0≤n0)?pp1:pp0,> → p2= (i0≤n0)?p1:p0,> → i2= (i0≤n0)?i1:i0} P={i0≤n0→pp0≤p0} The VC generated by PCondNF VCGen (Definition 4) is as follows: ((> → n0≥0)∧(> → pp0=0)∧(> → p0=1)∧(> → i0=2)∧(n0=0→r1=pp0)∧(¬(n0=0)→r2=p0) ∧(> → r3= ((n0=0)?r1:r2))) →(i0≤n0→pp0≤p0) In the case of CondNF, as opposed to PCondNF, the whole program is used as a context even though only part of it is required. In both cases, every statement is encoded with its path condition, resulting in larger formulas than those coming from the predicate transformer VCGens. 3.4 Simplified Conditional Normal Form The previous VCGens generate sound VCs from programs in either SSA or DSA form. There exists however an additional point of interest in the use of SSA form. Since a new variable is introduced after each branch statement to synchronize both branches, we can encode assignment statements without considering their path conditions. This approach omits part of the control flow, but this is not a problem because the relevant information is propagated through Phi-functions. Although the transformation does not produce operationally equivalent programs, it captures the necessary information to generate sound VCs. The next definition enhances the CondNF VCGen (Definition 3) in this way. Definition 5 (SCondNF VCGen) Given an SSA program C, its Simplified Conditional Normal Form VC is the formula VE→VP, where (E,P) = VCscnf (>,/0,C), and VCscnf is the function given in Figure 3(right). Note that, in the auxiliary function VCscnf , only the rule that encodes assignments is different from VCcnf . As for CondNF, the previous definition can be adapted to generate multiple VCs with partial contexts, resulting in a similar algorithm as the one used by CBMC [CKL04]. Definition 6 (PSCondNF VCGen) Given an SSA program C, its Partial context Simplified Conditional Normal Form VCs are given by V, where (E,V) = VCpscnf (>,/0,C), and VCpscnf 7 / 15 Volume 72 (2015)
Studying Verification Conditions for Imperative Programs is the function in which VCpscnf (π,C,assertθ) = (/0,VC→π→θ)and VCpscnf (π,C,S) = VCscnf (π,C,S), for S∈Comm \assert and VCscnf given in Figure 3(right). Function VCscnf produces the set of formulas as follows to be used by SCondNF (Definition 5) E={n0≥0,pp0=0,p0=1,i0=2,r1=pp0,r2=p0,r3= ((n0=0)?r1:r2),r4=p0+pp0,pp1=p0,p1=r4,i1=i0+1, i0≤n0→ ¬(i1≤n0),r5= (i0≤n0)?r4:r3,pp2= (i0≤n0)?pp1:pp0,p2= (i0≤n0)?p1:p0,i2= (i0≤n0)?i1:i0} P={i0≤n0→pp0≤p0} and the PSCondNF VCGen (Definition 6) produces the following VC: ((n0≥0)∧(pp0=0)∧(p0=1)∧(i0=2)∧(r1=pp0)∧(r2=p0)∧(r3= ((n0=0)?r1:r2))) →(i0≤n0→pp0≤p0) The observations we made about the number and size of the VCs generated by CondNF and PCondNF are also applied to SCondNF and PSCondNF. Note however that the size of the formulas is slightly smaller, because the path conditions are not used for assignment statements. 3.5 Assert Statements as Lemmas We have presented different ways of generating verification conditions, but we have not actually discussed how to solve them. It is important to note that we are assuming that one VC is checked at a time. Whenever a VC is false, one can stop the verification process because a violation has been found. If all VCs are valid, one can say that the program is correct. It is interesting to point out that assert statements, once proved, can be used as lemmas to prove the subsequent properties. One way of doing it is by inserting the proved assert statements’ properties in the context of the subsequent assert statements. In this case the VCs must be generated and solved in the same order as they appear in the code, so that all lemmas are proved before they are referred to. The previous VCGen algorithms can be modified to reproduce this behavior as in the following definition. Definition 7 (VCGens with assert statements as lemmas) Given aVCGen ∈ {SE,SP,PCondNF, PSCondNF}and its corresponding auxiliary function VC ∈ {VCse ,VCsp ,VCpcnf ,VCpscnf }, we write VCGenl(resp. VCl) to indicate that assert statements are used as lemmas. In this case, VCl(S) = VC(..., S)for S∈Comm \assert and VCl(..., assertθ)is given as follows: 1. VCse l(Φ,assertθ) = ({φ∧θ|φ∈Φ},{φ→θ|φ∈Φ}) 2. VCsp l(φ,assertθ) = (θ,{φ→θ}) 3. VCpcnf l(π,C,assertθ) = ({π→θ},{VC→π→θ}) 4. VCpscnf l(π,C,assertθ) = ({π→θ},{VC→π→θ}) These lemmas cannot be used by VCcnf and VCscnf because only one formula is generated with the whole encoding of the program and the assert statements – if we added the asserted properties to the global context, the generated VC would be trivially (and wrongly) discharged. For our running example this modification would not produce any effect, because only one assert statement is present. Note however that if the loop statement was unwound twice, two assert statements would exist, one from each iteration. The assert statement from the first iteration could be used as lemma for the second iteration. Proc. AVoCS 2015 8 / 15
ECEASST [CFR+91] R. Cytron, J. Ferrante, B. K. Rosen, M. N. Wegman, F. K. Zadeck. Efficiently computing static single assignment form and the control dependence graph. Int. J. TOPLAS, 13(4):451–490, 1991. [CKL04] E. Clarke, D. Kroening, F. Lerda. A Tool for Checking ANSI-C Programs. In Proc. TACAS2004, pp. 168–176, 2004. [CKY03] E. Clarke, D. Kroening, K. Yorav. Behavioral consistency of C and Verilog programs using bounded model checking. In Proc. DAC2003, pp. 368–371, 2003. [Dij76] E. W. Dijkstra. A discipline of programming. Prentice-Hall, 1976. [DM06] B. Dutertre, L. de Moura. The Yices SMT solver. Tech. rep., SRI Int., 2006. [FLL+02] C. Flanagan, K. Leino, M. Lillibridge, G. Nelson, J. B. Saxe, R. Stata. Extended static checking for Java. In PLDI2002, pp. 234–245, 2002. [FP13] J.C. Filliˆ atre, A. Paskevich. Why3 – where programs meet provers. In Proc. ESOP2013, pp. 125–128, 2013. [FS01] C. Flanagan, J. B. Saxe. Avoiding exponential explosion: generating compact verification conditions. In Proc. POPL2001, pp. 193–205, 2001. [GCNR08] B. S. Gulavani, S. Chakraborty, A. V. Nori, S. K. Rajamani. Automatically refining abstract interpretations. In Proc. TACAS2008, pp. 443–458, 2008. [GR09] A. Gupta, A. Rybalchenko. InvGen: an efficient invariant generator. In Proc. CAV2009, pp. 634–640, 2009. [JM09] R. Jhala, R. Majumdar. Software model checking. ACM Computer Survey 41(4):21:1–21:54, 2009. [JMNS12] J. Jaffar, V. Murali, J. A. Navas, A. E. Santosa. TRACER: a symbolic execution tool for verification. In Proc. CAV2012, pp. 758–766, 2012. [LA04] C. Lattner, V. Adve. LLVM: a compilation framework for lifelong program analysis transformation. In Proc. CGO2004, pp. 75–86, 2004. [LN14] S.M. Lamraoui, S. Nakajima. A formula-based approach for automatic fault localization of imperative programs. In Proc. ICFEM2014, pp. 251–266, 2014. [LSS87] J. Loeckx, K. Sieber. The Foundations of Program Verification, 2nd ed. Wiley- Teubner, 1987. [MFS12] F. Merz, S. Falke, C. Sinz. LLBMC: bounded model checking of C and C++ programs using a compiler IR. In Proc. VSTTE2012, pp. 146–161, 2012. [MMZ+01] M. W. Moskewicz, C. F. Madigan, Y. Zhao, L. Zhang, S. Malik. Chaff: engineering an efficient SAT solver. In Proc. DAC2001, pp. 530–535, 2001. 15 / 15 Volume 72 (2015)