Temporal Assertions using AspectJ

  • Authors:
  • Volker Stolz;Eric Bodden

  • Affiliations:
  • Dept. of Computer Science, Programming Languages and Program Analysis, RWTH Aachen University, 52056 Aachen, Germany;Dept. of Computer Science, Programming Languages and Program Analysis, RWTH Aachen University, 52056 Aachen, Germany

  • Venue:
  • Electronic Notes in Theoretical Computer Science (ENTCS)
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a runtime verification framework for Java programs. Properties can be specified in Linear-time Temporal Logic (LTL) over AspectJ pointcuts. These properties are checked during program-execution by an automaton-based approach where transitions are triggered through aspects. No Java source code is necessary since AspectJ works on the bytecode level, thus even allowing instrumentation of third-party applications. As an example, we discuss safety properties and lock-order reversal.