Search NASAโŒ• Search

NASA NTRS ยท 20110013163

Runtime Verification of C Programs

Abstract

We present in this paper a framework, RMOR, for monitoring the execution of C programs against state machines, expressed in a textual (nongraphical) format in files separate from the program. The state machine language has been inspired by a graphical state machine language RCAT recently developed at the Jet Propulsion Laboratory, as an alternative to using Linear Temporal Logic (LTL) for requirements capture. Transitions between states are labeled with abstract event names and Boolean expressions over such. The abstract events are connected to code fragments using an aspect-oriented pointcut language similar to ASPECTJ's or ASPECTC's pointcut language. The system is implemented in the C analysis and transformation package CIL, and is programmed in OCAML, the implementation language of CIL. The work is closely related to the notion of stateful aspects within aspect-oriented programming, where pointcut languages are extended with temporal assertions over the execution trace.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Havelund, Klaus. 2008-01-10. Runtime Verification of C Programs. https://ntrs.nasa.gov/citations/20110013163

Cite the original work for its findings. Save a collection to share your selection of sources.