Concurrent Runtime Monitoring of Formally Specified Programs

  • Authors:
  • Sriram Sankar;Manas Mandal

  • Affiliations:
  • -;-

  • Venue:
  • Computer
  • Year:
  • 1993

Quantified Score

Hi-index 4.10

Visualization

Abstract

A methodology for continuously monitoring a program for specification consistency during program execution is described. Prior development of the formal specification and program is assumed. The program is annotated with constructs from a formal specification language, and the formal specification constructs are transformed into checking code, which is then inserted into the underlying program. Calls to this checking code are inserted into underlying program wherever it can potentially become inconsistent with its specification. If an inconsistency does in fact occur, diagnostic information is provided. The implementation of such a system for Anna (annotated Ada) subtype annotations is presented.