Verified Rust Monitors for Lola Specifications

Bernd Finkbeiner, Stefan Oswald, Noemi Passing, Maximilian Schwenger
12/15/2020
cs.SEcs.FL

Official code: reactive-systems/Lola2RustArtifact (1 star, Rust, MIT, Rust, last commit 2021-06-18).

Abstract

The safety of cyber-physical systems rests on the correctness of their monitoring mechanisms. This is problematic if the specification of the monitor is implemented manually or interpreted by unreliable software.

Show full abstract

We present a verifying compiler that translates specifications given in the stream-based monitoring language Lola to implementations in Rust. The generated code contains verification annotations that enable the Viper toolkit to automatically prove functional correctness, absence of memory faults, and guaranteed termination. The compiler parallelizes the evaluation of different streams in the monitor based on a dependency analysis of the specification. We present encouraging experimental results obtained with monitor specifications found in the literature. For every specification, our approach was able to either produce a correctness proof or to uncover errors in the specification.

View on arXivView PDF

Code Implementations(1)

RustMIT
10RustAug 13, 20205 years agoMIT

Similar Papers

Cite this paper

@article{finkbeiner2020verified,
  title  = {Verified Rust Monitors for Lola Specifications},
  author = {Bernd Finkbeiner and Stefan Oswald and Noemi Passing and Maximilian Schwenger},
  year   = {2020},
  eprint = {2012.08961},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.08961}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.08961.svg)](https://codeofpaper.com/paper/2012.08961)

Discussion