NASA NTRS · 20030014746
A Rewriting-Based Approach to Trace Analysis
Abstract
We present a rewriting-based algorithm for efficiently evaluating future time Linear Temporal Logic (LTL) formulae on finite execution traces online. While the standard models of LTL are infinite traces, finite traces appear naturally when testing and/or monitoring red applications that only run for limited time periods. The presented algorithm is implemented in the Maude executable specification language and essentially consists of a set of equations establishing an executable semantics of LTL using a simple formula transforming approach. The algorithm is further improved to build automata on-the-fly from formulae, using memoization. The result is a very efficient and small Maude program that can be used to monitor program executions. We furthermore present an alternative algorithm for synthesizing probably minimal observer finite state machines (or automata) from LTL formulae, which can be used to analyze execution traces without the need for a rewriting system, and can hence be used by observers written in conventional programming languages. The presented work is part of an ambitious runtime verification and monitoring project at NASA Ames, called PATHEXPLORER, and demonstrates that rewriting can be a tractable and attractive means for experimenting and implementing program monitoring logics.
Keep this discovery
Explore connections, maps & timelines
Havelund, Klaus, Rosu, Grigore, Clancy, Daniel. 2002-01-01. A Rewriting-Based Approach to Trace Analysis. https://ntrs.nasa.gov/citations/20030014746
Cite the original work for its findings. Save a collection to share your selection of sources.