Formal Aspects of Computing · 2018 · 16 citations · 17 references
ComputingDiagnostic SciencesDiagnostic ReasoningFault ToleranceDiagnosisDiagnostic ErrorFailure DetectionHypothesis TestingSoftware TestingTest ReliabilityDiagnostic TestingError Detection In ProofsProof Checking
Abstract Applying deductive verification to formally prove that a program respects its formal specification is a very complex and time-consuming task due in particular to the lack of feedback in case of proof failures. Along with a non-compliance between the code and its specification (due to an error in at least one of them), possible reasons of a proof failure include a missing or too weak specification for a called function or a loop, and lack of time or simply incapacity of the prover to finish a particular proof. This work proposes a methodology where test generation helps to identify the reason of a proof failure and to exhibit a counterexample clearly illustrating the issue. We define the categories of proof failures, introduce two subcategories of contract weaknesses (single and global ones), and examine their properties. We describe how to transform a C program formally specified in an executable specification language into C code suitable for testing, and illustrate the benefits of the method on comprehensive examples. The method has been implemented in StaDy , a plugin of the software analysis platform Frama -C. Initial experiments show that detecting non-compliances and contract weaknesses allows to precisely diagnose most proof failures.
17
Counterexample-guided abstraction refinement for symbolic model checking
Edmund M. Clarke, Orna Grümberg, Somesh Jha et al. · Journal of the ACM · 2003 · 991 citations
Frama-C: A software analysis perspective
Florent Kirchner, Nikolaï Kosmatov, Virgile Prévosto et al. · Formal Aspects of Computing · 2015 · 388 citations · Full text
Bhargav S. Gulavani, Thomas A. Henzinger, Yamini Kannan et al. · 2006 · 251 citations
Compositional may-must program analysis
Patrice Godefroid, Aditya V. Nori, Sriram K. Rajamani et al. · 2010 · 217 citations
ACSL: ANSI/ISO C Specification Language
Patrick Baudin, Jean-Christophe Filliâtre, Claude Marché et al. · 2008 · 153 citations