Back to Search Start Over

Verifying data- and control-oriented properties combining static and runtime verification: theory and tools

Authors :
Gerardo Schneider
Jesús Mauricio Chimento
Gordon J. Pace
Wolfgang Ahrendt
Source :
Formal Methods in System Design. 51:200-265
Publication Year :
2017
Publisher :
Springer Science and Business Media LLC, 2017.

Abstract

Static verification techniques are used to analyse and prove properties about programs before they are executed. Many of these techniques work directly on the source code and are used to verify data-oriented properties over all possible executions. The analysis is necessarily an over-approximation as the real executions of the program are not available at analysis time. In contrast, runtime verification techniques have been extensively used for control-oriented properties, analysing the current execution path of the program in a fully automatic manner. In this article, we present a novel approach in which data-oriented and control-oriented properties may be stated in a single formalism amenable to both static and dynamic verification techniques. The specification language we present to achieve this that of ppDATEs, which enhances the control-oriented property language of DATEs, with data- oriented pre/postconditions. For runtime verification of ppDATE specifications, the language is translated into a DATE. We give a formal semantics to ppDATEs, which we use to prove the correctness of our translation from ppDATEs to DATEs. We show how ppDATE specifi- cations can be analysed using a combination of the deductive theorem prover KeY and the runtime verification tool LARVA. Verification is performed in two steps: KeY first partially proves the data-oriented part of the specification, simplifying the specification which is then passed on to LARVA to check at runtime for the remaining parts of the specification including the control-oriented aspects. We show the applicability of our approach on two case studies.<br />peer-reviewed

Details

ISSN :
15728102 and 09259856
Volume :
51
Database :
OpenAIRE
Journal :
Formal Methods in System Design
Accession number :
edsair.doi.dedup.....66ab5014d76cb870dffcfb92f1920811