Online and Offline Stream Runtime Verification of Synchronous Systems

被引:24
|
作者
Sanchez, Cesar [1 ]
机构
[1] IMDEA Software Inst, Madrid, Spain
来源
基金
欧盟地平线“2020”;
关键词
Runtime verification; Formal verification; Formal methods; Stream runtime verification synchronous systems; Dynamic analysis; Monitoring; TIME; LANGUAGE;
D O I
10.1007/978-3-030-03769-7_9
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We revisit Stream Runtime Verification for synchronous systems. Stream Runtime Verification (SRV) is a declarative formalism to express monitors using streams, which aims to be a simple and expressive specification language. The goal of SRV is to allow engineers to describe both correctness/failure assertions and interesting statistical measures for system profiling and coverage analysis. The monitors generated are useful for testing, under actual deployment, and to analyze logs. The main observation that enables SRV is that the steps in the algorithms to monitor temporal logics (which generate Boolean verdicts) can be generalized to compute statistics of the trace if a different data domain is used. Hence, the fundamental idea of SRV is to separate the temporal dependencies in the monitoring algorithm from the concrete operations to be performed at each step. In this paper we revisit the pioneer SRV specification language LOLA and present in detail the online and offline monitoring algorithms. The algorithm for online monitoring Lola specifications uses a partial evaluation strategy, by incrementally constructing output streams from input streams, maintaining a storage of partially evaluated expressions. We identify syntactically a class of specifications for which the online algorithm is trace length independent, that is, the memory requirement does not depend on the length of the input streams. Then, we extend the principles of the online algorithm to create an efficient offline monitoring algorithm for large traces, which consist on scheduling trace length independent passes on a dumped log.
引用
收藏
页码:138 / 163
页数:26
相关论文
共 50 条
  • [41] Runtime Verification of Operating Systems Based on Abstract Models
    Efremov, D. V.
    Kopach, V. V.
    Kornykhin, E. V.
    Kuliamin, V. V.
    Petrenko, A. K.
    Khoroshilov, A. V.
    Shchepetkov, I. V.
    PROGRAMMING AND COMPUTER SOFTWARE, 2023, 49 (07) : 559 - 565
  • [42] BraceAssertion: Runtime Verification of Cyber-Physical Systems
    Zheng, Xi
    Julien, Christine
    Podorozhny, Rodion
    Cassez, Franck
    2015 IEEE 12th International Conference on Mobile Ad Hoc and Sensor Systems (MASS), 2015, : 298 - 306
  • [43] Runtime verification of embedded real-time systems
    Thomas Reinbacher
    Matthias Függer
    Jörg Brauer
    Formal Methods in System Design, 2014, 44 : 203 - 239
  • [44] Towards a Runtime Verification Approach for Internet of Things Systems
    Leotta, Maurizio
    Ancona, Davide
    Franceschini, Luca
    Olianas, Dario
    Ribaudo, Marina
    Ricca, Filippo
    CURRENT TRENDS IN WEB ENGINEERING (ICWE 2018), 2018, 11153 : 83 - 96
  • [45] Stream runtime verification of real-time event streams with the Striver language
    Gorostiaga, Felipe
    Sanchez, Cesar
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2021, 23 (02) : 157 - 183
  • [46] Towards Runtime Verification via Event Stream Processing in Cloud Computing Infrastructures
    Cotroneo, Domenico
    De Simone, Luigi
    Liguori, Pietro
    Natella, Roberto
    Scibelli, Angela
    SERVICE-ORIENTED COMPUTING, ICSOC 2020, 2021, 12632 : 162 - 175
  • [47] Hardware-Based Runtime Verification with Embedded Tracing Units and Stream Processing
    Convent, Lukas
    Hungerecker, Sebastian
    Scheffel, Torben
    Schmitz, Malte
    Thoma, Daniel
    Weiss, Alexander
    RUNTIME VERIFICATION (RV 2018), 2018, 11237 : 43 - 63
  • [48] Stream runtime verification of real-time event streams with the Striver language
    Felipe Gorostiaga
    César Sánchez
    International Journal on Software Tools for Technology Transfer, 2021, 23 : 157 - 183
  • [49] Striver: Stream Runtime Verification for Real-Time Event-Streams
    Gorostiaga, Felipe
    Sanchez, Cesar
    RUNTIME VERIFICATION (RV 2018), 2018, 11237 : 282 - 298
  • [50] Decentralized Runtime Verification of LTL Specifications in Distributed Systems
    Mostafa, Menna
    Bonakdarpour, Borzoo
    2015 IEEE 29TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2015, : 494 - 503