A lesson on runtime assertion checking with Frama-C - CEA - Commissariat à l’énergie atomique et aux énergies alternatives Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

A lesson on runtime assertion checking with Frama-C

Résumé

Runtime assertion checking provides a powerful, highly automatizable technique to detect violations of specified program properties. This paper provides a lesson on runtime assertion checking with Frama-C, a publicly available toolset for analysis of C programs. We illustrate how a C program can be specified in executable specification language e-acsl and how this specification can be automatically translated into instrumented C code suitable for monitoring and runtime verification of specified properties. We show how various errors can be automatically detected on the instrumented code, including C runtime errors, failures in postconditions, assertions, preconditions of called functions, and memory leaks. Benefits of combining runtime assertion checking with other Frama-C analyzers are illustrated as well.

Dates et versions

cea-01834991 , version 1 (11-07-2018)

Identifiants

Citer

N. Kosmatov, J. Signoles. A lesson on runtime assertion checking with Frama-C. Runtime Verification. RV 2013. Lecture Notes in Computer Science, Sep 2013, Rennes, France. pp.386-399, ⟨10.1007/978-3-642-40787-1_29⟩. ⟨cea-01834991⟩
52 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More