JOURNAL ARTICLE

Event-based runtime verification of java programs

Marcelo d’AmorimKlaus Havelund

Year: 2005 Journal:   ACM SIGSOFT Software Engineering Notes Vol: 30 (4)Pages: 1-7   Publisher: Association for Computing Machinery

Abstract

We introduce the temporal logic HAWK and its supporting tool for runtime verification of Java programs. A monitor for a HAWK formula checks if a finite trace of program events satisfies the formula. HAWK is a programming-oriented extension of the rule-based EAGLE logic that has been shown capable of defining and implementing a range of finite trace monitoring logics, including future and past time temporal logic, metric (real-time) temporal logics, interval logics, forms of quantified temporal logics, extended regular expressions, state machines, and others. Monitoring is achieved on a state-by-state basis avoiding any need to store the input trace. HAWK extends EAGLE with constructs for capturing parameterized program events such as method calls and method returns. Parameters can be executing thread, the objects that methods are called upon, arguments to methods, and return values. HAWK allows one to refer to these in formulae. The tool synthesizes monitors from formulae and automates program instrumentation.

Keywords:
Computer science Programming language Temporal logic Runtime verification Java TRACE (psycholinguistics) Linear temporal logic Parameterized complexity Model checking Thread (computing) State (computer science) Theoretical computer science Algorithm Formal verification

Metrics

114
Cited By
9.20
FWCI (Field Weighted Citation Impact)
21
Refs
0.98
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Software Engineering Methodologies
Physical Sciences →  Computer Science →  Artificial Intelligence
Formal Methods in Verification
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Logic, programming, and type systems
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

© 2026 ScienceGate Book Chapters — All rights reserved.