Rule systems for runtime verification: A short tutorial

Howard Barringer, Klaus Havelund, David Rydeheard, Alex Groce

Research output: Chapter in Book/Report/Conference proceedingConference contribution

21 Scopus citations

Abstract

In this tutorial, we introduce two rule-based systems for on and off-line trace analysis, RuleR and LogScope. RuleR is a conditional rule-based system, which has a simple and easily implemented algorithm for effective runtime verification, and into which one can compile a wide range of temporal logics and other specification formalisms used for runtime verification. Specifications can be parameterized with data, or even with specifications, allowing for temporal logic combinators to be defined. We outline a number of simple syntactic extensions of core RuleR that can lead to further conciseness of specification but still enabling easy and efficient implementation. RuleR is implemented in Java and we will demonstrate its ease of use in monitoring Java programs. LogScope is a derivation of RuleR adding a simple very user-friendly temporal logic. It was developed in Python, specifically for supporting testing of spacecraft flight software for NASA's next 2011 Mars mission MSL (Mars Science Laboratory). The system has been applied by test engineers to analysis of log files generated by running the flight software. Detailed logging is already part of the system design approach, and hence there is no added instrumentation overhead caused by this approach. While post-mortem log analysis prevents the autonomous reaction to problems possible with traditional runtime verification, it provides a powerful tool for test automation. A new system is being developed that integrates features from both RuleR and LogScope.

Original languageEnglish (US)
Title of host publicationRuntime Verification - 9th International Workshop, RV 2009, Selected Papers
Pages1-24
Number of pages24
DOIs
StatePublished - 2009
Externally publishedYes
Event9th International Workshop on Runtime Verification, RV 2009 - Grenoble, France
Duration: Jun 26 2009Jun 28 2009

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5779 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Workshop on Runtime Verification, RV 2009
Country/TerritoryFrance
CityGrenoble
Period6/26/096/28/09

Keywords

  • Aspectj
  • Code instrumentation
  • Java
  • Log file analysis
  • Python
  • Rule systems
  • Runtime verification
  • Temporal logic

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Rule systems for runtime verification: A short tutorial'. Together they form a unique fingerprint.

Cite this