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 条
  • [1] Decentralized Stream Runtime Verification
    Miguel Danielsson, Luis
    Sanchez, Cesar
    RUNTIME VERIFICATION, RV 2019, 2019, 11757 : 185 - 201
  • [2] Adding State to Stream Runtime Verification
    Caldeira, Manuel
    Kallwies, Hannes
    Leucker, Martin
    Thoma, Daniel
    RUNTIME VERIFICATION, RV 2024, 2025, 15191 : 163 - 173
  • [3] Foundations of Boolean stream runtime verification
    Bozzelli, Laura
    Sanchez, Cesar
    THEORETICAL COMPUTER SCIENCE, 2016, 631 : 118 - 138
  • [4] Runtime Verification for Stream Processing Applications
    Colombo, Christian
    Pace, Gordon J.
    Camilleri, Luke
    Dimech, Claire
    Farrugia, Reuben
    Grech, Jean Paul
    Magro, Alessio
    Sammut, Andrew C.
    Adami, Kristian Zarb
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: DISCUSSION, DISSEMINATION, APPLICATIONS, ISOLA 2016, PT II, 2016, 9953 : 400 - 406
  • [5] Foundations of boolean stream runtime verification
    Bozzelli, Laura
    Sánchez, CéSar
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8734 : 64 - 79
  • [6] Foundations of Boolean Stream Runtime Verification
    Bozzelli, Laura
    Sanchez, Cesar
    RUNTIME VERIFICATION, RV 2014, 2014, 8734 : 64 - 79
  • [7] Declarative Stream Runtime Verification (hLola)
    Ceresa, Martin
    Gorostiaga, Felipe
    Sanchez, Cesar
    PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2020, 2020, 12470 : 25 - 43
  • [8] Efficient interaction-based offline runtime verification of distributed systems with lifeline removal
    Mahe, Erwan
    Bannour, Boutheina
    Gaston, Christophe
    Le Gall, Pascale
    SCIENCE OF COMPUTER PROGRAMMING, 2025, 241
  • [9] Signature Verification by only Single Genuine Sample in Offline and Online Systems
    Adamski, Marcin
    Saeed, Khalid
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON NUMERICAL ANALYSIS AND APPLIED MATHEMATICS 2015 (ICNAAM-2015), 2016, 1738
  • [10] Online/Offline Verification of Short Signatures
    Zhang, Yilian
    Chen, Zhide
    Guo, Fuchun
    INFORMATION SECURITY AND CRYPTOLOGY, 2011, 6584 : 350 - +