Departmental Papers (CIS)

Date of this Version

July 2003

Document Type

Conference Paper


Postprint version. Published in Electronic Notes in Theoretical Computer Science, Volume 89, Issue 2, October 2003, 20 pages.
Publisher URL:


The Java-MaC framework is a run-time verification system for Java programs that can be used to dynamically test and enforce safety policies. This paper presents a formal model of the Java-MaC safety properties in terms of an operational semantics for Middleweight Java, a realistic subset of full Java. This model is intended to be used as a framework for studying the correctness of Java-MaC program instrumentation, optimizations, and future experimentation with run-time monitor expressiveness. As a preliminary demonstration of this model's applicability for these tasks, the paper sketches a correctness result for a simple program instrumentation scheme.


Runtime verification, verification



Date Posted: 26 August 2005

This document has been peer reviewed.