The Community for Technology Leaders
Green Image
Issue No. 02 - March/April (2010 vol. 36)
ISSN: 0098-5589
pp: 275-287
Patrice Chalin , Dependable Software Research Group, Concordia University, Montreal
The Verifying Compiler (VC) project is a core component of the Dependable Systems Evolution Grand Challenge. The VC offers the promise of automatically proving that a program or component is correct, where correctness is defined by program assertions. While several VC prototypes exist, all adopt a semantics for assertions that is unsound. This paper presents a consolidation of VC requirements analysis (RA) activities that, in particular, brought us to ask targeted VC customers what kind of semantics they wanted. Taking into account both practitioners' needs and current technological factors, we offer recovery of soundness through an adjusted definition of assertion validity that matches user expectations and can be implemented practically using current prover technology. For decades, there have been debates concerning the most appropriate semantics for program assertions. Our contribution here is unique in that we have applied fundamental software engineering techniques by asking primary stakeholders what they want and, based on this, proposed a means of efficiently realizing the semantics stakeholders want using standard tools and techniques. We describe how support for the new semantics has been added to ESC/Java2, one of the most fully developed VC prototypes. Case studies demonstrate the effectiveness of the new semantics at uncovering previously indiscernible specification errors.
Software verification, assertions, programming by contract, logics of programs, requirements engineering.
Patrice Chalin, "Engineering a Sound Assertion Semantics for the Verifying Compiler", IEEE Transactions on Software Engineering, vol. 36, no. , pp. 275-287, March/April 2010, doi:10.1109/TSE.2009.59
88 ms
(Ver 3.1 (10032016))