Affiliation:
1. University of Nebraska - Lincoln, Lincoln, NE, USA
Abstract
There has been significant interest in equipping programs with runtime checks aimed at detecting errors to improve fault detection during testing and in the field. Recent work in this area has studied methods for efficiently monitoring a program execution's conformance to path property specifications, e.g., such as those captured by a finite state automaton. These techniques show great promise, but their broad applicability is hampered by the fact that for certain combinations of programs and properties the overhead of checking can slow the program down by up to 3500%.
We have observed that, in many cases, the overhead of runtime monitoring is due to the behavior of program loops. We present a general framework for optimizing the monitoring of loops relative to a property. This framework allows monitors to process a loop in constant-time rather than time that is proportional to the number of loop iterations. We present the results of an empirical study that demonstrates that significant overhead reduction that can be achieved by applying the framework to monitor properties of several large Java programs.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
10 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. RVprio: A tool for prioritizing runtime verification violations;Software Testing, Verification and Reliability;2022-03-07
2. Optimal Finite-State Monitoring of Partial Traces;Runtime Verification;2022
3. What can we monitor over unreliable channels?;International Journal on Software Tools for Technology Transfer;2021-06-30
4. Demystifying the Challenges of Formally Specifying API Properties for Runtime Verification;2021 14th IEEE Conference on Software Testing, Verification and Validation (ICST);2021-04
5. A Unifying Framework for Dynamic Monitoring and a Taxonomy of Optimizations;Leveraging Applications of Formal Methods, Verification and Validation: Engineering Principles;2020