Monitoring hyperproperties
Open Access
- 25 June 2019
- journal article
- research article
- Published by Springer Nature in Formal Methods in System Design
- Vol. 54 (3) , 336-363
Abstract
Hyperproperties, such as non-interference and observational determinism, relate multiple system executions to each other. They are not expressible in standard temporal logics, like LTL, CTL, and CTL*, and thus cannot be monitored with standard runtime verification techniques. \(\text {HyperLTL}\) extends linear-time temporal logic (LTL) with explicit quantification over traces in order to express hyperproperties. We investigate the runtime verification problem of \(\text {HyperLTL}\) formulas for three different input models: (1) The parallel model, where a fixed number of system executions is processed in parallel. (2) The unbounded sequential model, where system executions are processed sequentially, one execution at a time. In this model, the number of incoming executions is a-priori unbounded and may in fact grow forever. (3) The bounded sequential model where the traces are processed sequentially and the number of incoming executions is bounded. We show that the existence of a bound in the parallel and bounded sequential models leads to a different notion of monitorability than in the unbounded sequential model. We show that deciding the monitoriability problem for alternation-free HyperLTL is \(\textsc {PSpace}\)-complete while the problem is undecidable in general. For every input model, we provide monitoring algorithms along with run-time and storage optimizations. By recognizing properties of specifications such as reflexivity, symmetry, and transitivity, we reduce the number of comparisons between traces. For the sequential models, we present a technique that minimizes the number of traces that need to be stored. We evaluate our optimizations, showing that this leads to a more scalable monitoring and, in particular, a significantly lower memory consumption.
Keywords
Funding Information
- European Research Council (683300)
- Deutsche Forschungsgemeinschaft (CRC 1223, CRC 248)
This publication has 31 references indexed in Scilit:
- Optimized temporal monitors for SystemCFormal Methods in System Design, 2012
- Quantified Event Automata: Towards Expressive and Efficient Runtime Monitors2012
- Model Checking Information Flow in Reactive Systems2012
- Runtime Enforcement of Information Flow Security in Tree Manipulating ProcessesLecture Notes in Computer Science, 2012
- Monitoring Temporal Information FlowLecture Notes in Computer Science, 2012
- Parametric Trace Slicing and Monitoring2009
- PSL Model Checking and Run-Time Verification Via Testers2006
- Checking Finite Traces Using Alternating AutomataFormal Methods in System Design, 2004
- Language-based information-flow securityIEEE Journal on Selected Areas in Communications, 2003
- An automata-theoretic approach to linear temporal logic1996