13 releases (7 breaking)

0.10.1 Jul 2, 2024
0.9.0 Dec 19, 2022
0.8.0 Apr 12, 2022
0.7.0 Nov 23, 2021
0.3.2 Jul 22, 2020

#26 in Emulators

Download history 72/week @ 2024-07-23 35/week @ 2024-07-30 1/week @ 2024-08-20 8/week @ 2024-08-27 20/week @ 2024-09-10 9/week @ 2024-09-17 19/week @ 2024-09-24 37/week @ 2024-10-01

605 downloads per month
Used in 5 crates

Apache-2.0

460KB
9K SLoC

RTLola logo

RTLola Interpreter

Crate API License

RTLola is a runtime monitoring framework. It consists of a parser, analyzer, and interpreter for the RTLola specification language.

This library crate provides two APIs to evaluate RTLola specifications through interpretation. If you are looking for a ready to use tool try out the rtlola-cli crate, which provides a command line interface to the interpreter capable of parsing csv and pcap files.

For more information on the RTLola framework make sure to visit our Website: rtlola.org

The RTLola language

An example for a RTLola specification is given below:

input a: Int64
input b: Int64

output x := a + b
trigger x > 2

Evaluated on a trace given in CSV format:

a,b,time
0,1,0.1
2,3,0.2
4,5,0.3

the interpreter will produce an output similar to this:

rtlola-cli monitor example.spec --offline relative --csv-in example.csv 
Trigger: x > 2
Trigger: x > 2

Copyright

Copyright (C) CISPA - Helmholtz Center for Information Security 2024. Authors: Jan Baumeister, Florian Kohn, Stefan Oswald, Frederik Scheerer, Maximilian Schwenger. Based on original work at Universität des Saarlandes (C) 2020. Authors: Jan Baumeister, Florian Kohn, Malte Schledjewski, Maximilian Schwenger, Marvin Stenger, and Leander Tentrup.

Dependencies

~12–21MB
~303K SLoC