Formula Slicing: Inductive Invariants from Preconditions - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2016

Formula Slicing: Inductive Invariants from Preconditions

Egor George Karpenkov
  • Fonction : Auteur
  • PersonId : 999403
David Monniaux

Résumé

We propose a “formula slicing” method for finding inductive invariants. It is based on the observation that many loops in the program affect only a small part of the memory, and many invariants which were valid before a loop are still valid after. Given a precondition of the loop, obtained from the preceding program fragment, we weaken it until it becomes inductive. The weakening procedure is guided by counterexamples-to-induction given by an SMT solver. Our algorithm applies to programs with arbitrary loop structure, and it computes the strongest invariant in an abstract domain of weakenings of preconditions. We call this algorithm “formula slicing”, as it effectively performs “slicing” on formulas derived from symbolic execution. We evaluate our algorithm on the device driver benchmarks from the International Competition on Software Verification (SV-COMP), and we show that it is competitive with the state-of-the-art verification techniques.
Fichier principal
Vignette du fichier
paper.pdf (453.67 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01446354 , version 1 (25-01-2017)

Identifiants

Citer

Egor George Karpenkov, David Monniaux. Formula Slicing: Inductive Invariants from Preconditions. 12th International Haifa Verification Conference (HVC), Nov 2016, Haifa, Israel. pp.169-185, ⟨10.1007/978-3-319-49052-6_11⟩. ⟨hal-01446354⟩
324 Consultations
112 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More