We introduce a formal framework to provide an efficient event-based monitoring technique, and we describe its current implementation as the MahaRAJA software tool. The framework enables the quantitative runtime verification of temporal properties extracted from occurring events on Java programs. The monitor continuously evaluates the conformance of the concrete implementation with respect to its formal specification given in terms of Time Basic Petri nets, a particular timed extension of Petri nets. The system under test is instrumented by using simple Java annotations on methods to link the implementation to its formal model. This allows a separation between implementation and specification that can be used for other purposes such as formal verification, simulation, and model-based testing. The tool has been successfully used to monitor at runtime and test a number of benchmarking case-studies. Experiments show that our approach introduces bounded overhead and effectively reduces the involvement of the monitor at run time by using negligible auxiliary memory. A comparison with a number of state-of-the-art runtime verification tools is also presented.

Event-Based Runtime Verification of Temporal Properties Using Time Basic Petri Nets / M. Camilli, A. Gargantini, P. Scandurra, C. Bellettini (LECTURE NOTES IN COMPUTER SCIENCE). - In: NASA Formal Methods / [a cura di] C. Barrett, M. Davies, T. Kahsai. - [s.l] : Springer, 2017 Apr 09. - ISBN 9783319572871. - pp. 115-130 (( Intervento presentato al 9. convegno Nasa Formal Methods tenutosi a Moffett Field nel 2017 [10.1007/978-3-319-57288-8_8].

Event-Based Runtime Verification of Temporal Properties Using Time Basic Petri Nets

M. Camilli
Primo
;
P. Scandurra
Penultimo
;
C. Bellettini
Ultimo
2017

Abstract

We introduce a formal framework to provide an efficient event-based monitoring technique, and we describe its current implementation as the MahaRAJA software tool. The framework enables the quantitative runtime verification of temporal properties extracted from occurring events on Java programs. The monitor continuously evaluates the conformance of the concrete implementation with respect to its formal specification given in terms of Time Basic Petri nets, a particular timed extension of Petri nets. The system under test is instrumented by using simple Java annotations on methods to link the implementation to its formal model. This allows a separation between implementation and specification that can be used for other purposes such as formal verification, simulation, and model-based testing. The tool has been successfully used to monitor at runtime and test a number of benchmarking case-studies. Experiments show that our approach introduces bounded overhead and effectively reduces the involvement of the monitor at run time by using negligible auxiliary memory. A comparison with a number of state-of-the-art runtime verification tools is also presented.
No
English
Formal methods @ runtime; Petri nets; Runtime verification; Temporal properties; Timing analysis
Settore INF/01 - Informatica
Intervento a convegno
Comitato scientifico
Pubblicazione scientifica
NASA Formal Methods
C. Barrett, M. Davies, T. Kahsai
Springer
9-apr-2017
115
130
16
9783319572871
9783319572888
10227
Volume a diffusione internazionale
No
Nasa Formal Methods
Moffett Field
2017
9
Convegno internazionale
crossref
NON aderisco
M. Camilli, A. Gargantini, P. Scandurra, C. Bellettini
Book Part (author)
none
273
Event-Based Runtime Verification of Temporal Properties Using Time Basic Petri Nets / M. Camilli, A. Gargantini, P. Scandurra, C. Bellettini (LECTURE NOTES IN COMPUTER SCIENCE). - In: NASA Formal Methods / [a cura di] C. Barrett, M. Davies, T. Kahsai. - [s.l] : Springer, 2017 Apr 09. - ISBN 9783319572871. - pp. 115-130 (( Intervento presentato al 9. convegno Nasa Formal Methods tenutosi a Moffett Field nel 2017 [10.1007/978-3-319-57288-8_8].
info:eu-repo/semantics/bookPart
4
Prodotti della ricerca::03 - Contributo in volume
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/490602
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 9
  • ???jsp.display-item.citation.isi??? 8
  • OpenAlex ND
social impact