Abstract
A number of tools for runtime verification have been developed over the years, and just as many different formalisms for specifying the types of properties that they can check over the runs of a system. Though there have been some attempts to develop them, there are as yet no general benchmark suites available with event logs of a realistic size, together with the relevant properties to check. This makes it hard to compare the expressiveness and ease of use of different specification formalisms, or even the relative performance of the available tools. In this paper we try to address this to some extent by considering a formal logic and its supporting tool, and compare both ease of formalization and tool performance with a tool that was designed for an entirely different domain of application, namely interactive source code analysis. The static analysis tool needs just a few small adjustments to support runtime verification of event streams. The results of the comparison are surprising in that they unexpectedly show the static analysis tool outperforming the tool that was designed for runtime verification, both in accuracy and in performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Kauffman, S., Havelund, K., Joshi, R.: nfer – a notation and system for inferring event stream abstractions. In: Falcone, Y., Sánchez, C. (eds.) RV 2016. LNCS, vol. 10012, pp. 235–250. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46982-9_15
Kauffman, S., Havelund, K., Joshi, R., Fischmeister, S.: Inferring event stream abstractions. Formal Methods Syst. Des. 53, 54–82 (2018). https://doi.org/10.1007/s10703-018-0317-z (Journal version of [1])
Holzmann, G.J.: Cobra: a light-weight tool for static and dynamic program analysis. Innov. Syst. Softw. Eng. 13(1), 35–49 (2016). https://doi.org/10.1007/s11334-016-0282-x
Pnueli, A.: The temporal logic of programs. In: Proceedings FOCS, pp. 46–57 (1977)
Holzmann, G.J.: The Spin Model Checker - Primer and Reference Manual. Addison-Wesley, Reading Mass (2004)
Acknowledgment
The author gratefully acknowledges the help of Klaus Havelund for access to the event log that was used for the nfer verification, and for his insights in understanding the difference in the results obtained.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Holzmann, G.J. (2021). Comparing Two Methods for Checking Runtime Properties. In: Bartocci, E., Falcone, Y., Leucker, M. (eds) Formal Methods in Outer Space. Lecture Notes in Computer Science(), vol 13065. Springer, Cham. https://doi.org/10.1007/978-3-030-87348-6_7
Download citation
DOI: https://doi.org/10.1007/978-3-030-87348-6_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-87347-9
Online ISBN: 978-3-030-87348-6
eBook Packages: Computer ScienceComputer Science (R0)