Constraint-Based BMC: A Backjumping Strategy - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2011

Constraint-Based BMC: A Backjumping Strategy

Résumé

Safety property checking is mandatory in the validation process of critical software. When formal verification tools fail to prove some properties, the automatic generation of counterexamples for a given loop depth is therefore an important issue in practice. We investigate in this paper the capabilities of constraint-based bounded model checking for program verification and counterexample generation on real applications. We introduce DPVS (Dynamic Post-condition Variable driven Strategy), a new backjumping strategy we have developed to handle an industrial application from a car manufacturer, the Flasher Manager. This backjumping strategy is used to search a faulty path and to collect the constraints of such a path. The simplified control flow graph (CFG) of the program is explored in a backward way, starting from the post-condition and jumping to the most promising node where the variables of the post-condition are defined. In other words, the constraints are collected by exploring the CFG in a dynamic and non-sequential backward way. The Flasher Manager application has been designed and simulated using the Simulink platform. However, this module is concretely embedded as a C program in a car computer, thus we have to check that the safety properties are preserved on this C code. We report experiments on the Flasher Manager with our constraint-based bounded model checker, and with CBMC, a state-of-the-art bounded model checker. Experiments show that DPVS and CBMC have similar performances on one property of the Flasher Manager; DPVS outperforms CBMC to find a counterexample for two properties; two of the properties of the Flasher Manager remain intractable both for CBMC and DPVS.
Fichier principal
Vignette du fichier
backjumpingBMC.pdf (624.87 Ko) Télécharger le fichier
p1.c (12.98 Ko) Télécharger le fichier
p2.c (13.36 Ko) Télécharger le fichier
p3a.c (14.34 Ko) Télécharger le fichier
p3b.c (12.7 Ko) Télécharger le fichier
p4.c (13.4 Ko) Télécharger le fichier
simulink1.pdf (7.96 Ko) Télécharger le fichier
simulink2.pdf (16.47 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Format : Autre
Format : Autre
Format : Autre
Format : Autre
Format : Autre
Format : Autre
Format : Autre

Dates et versions

hal-00635417 , version 1 (25-10-2011)
hal-00635417 , version 2 (27-03-2012)
hal-00635417 , version 3 (27-03-2012)
hal-00635417 , version 4 (30-07-2012)

Identifiants

  • HAL Id : hal-00635417 , version 3

Citer

Hélène Collavizza, Le Vinh Nguyen, Olivier Ponsini, Michel Rueher, Antoine Rollet. Constraint-Based BMC: A Backjumping Strategy. 2011. ⟨hal-00635417v3⟩
330 Consultations
282 Téléchargements

Partager

Gmail Facebook X LinkedIn More