CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

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

Wolfgang Ahrendt (Institutionen för data- och informationsteknik (Chalmers)) ; Mauricio Chimento (Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers)) ; G. J. Pace ; Gerardo Schneider
Formal Methods in System Design (0925-9856). Vol. 51 (2017), 1, p. 200-265.
[Artikel, refereegranskad vetenskaplig]

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 specifications 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.

Nyckelord: Runtime verification, Static verification, Java, Program analysis



Denna post skapades 2017-09-14. Senast ändrad 2017-11-29.
CPL Pubid: 251895

 

Läs direkt!


Länk till annan sajt (kan kräva inloggning)