Runtime enforcement of reactive systems using synchronous enforcers

Srinivas Pinisetty,Partha S Roop,Steven Smyth,Stavros Tripakis,Reinhard von Hanxleden
DOI: https://doi.org/10.48550/arXiv.1612.05030
2016-12-15
Abstract:Synchronous programming is a paradigm of choice for the design of safety-critical reactive systems. Runtime enforcement is a technique to ensure that the output of a black-box system satisfies some desired properties. This paper deals with the problem of runtime enforcement in the context of synchronous programs. We propose a framework where an enforcer monitors both the inputs and the outputs of a synchronous program and (minimally) edits erroneous inputs/outputs in order to guarantee that a given property holds. We define enforceability conditions, develop an online enforcement algorithm, and prove its correctness. We also report on an implementation of the algorithm on top of the KIELER framework for the SCCharts synchronous language. Experimental results show that enforcement has minimal execution time overhead, which decreases proportionally with larger benchmarks.
Formal Languages and Automata Theory,Software Engineering
What problem does this paper attempt to address?