An optimized memory monitoring for runtime assertion checking of C programs - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

An optimized memory monitoring for runtime assertion checking of C programs

Résumé

Runtime assertion checking provides a powerful, highly automatizable technique to detect violations of specified program properties. However, monitoring of annotations for pointers and memory locations (such as being valid, initialized, in a particular block, with a particular offset, etc.) is not straightforward and requires systematic instrumentation and monitoring of memory-related operations. This paper describes the runtime memory monitoring library we developed for execution support of e-acsl, executable specification language for C programs offered by the Frama-C platform for analysis of C code. We present the global architecture of our solution as well as various optimizations we realized to make memory monitoring more efficient. Our experiments confirm the benefits of these optimizations and illustrate the bug detection potential of runtime assertion checking with e-acsl.

Dates et versions

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

Identifiants

Citer

N. Kosmatov, G. Petiot, J. Signoles. An optimized memory monitoring for runtime assertion checking of C programs. Runtime Verification. RV 2013. Lecture Notes in Computer Science, 2013, Rennes, France. pp.167-182, ⟨10.1007/978-3-642-40787-1_10⟩. ⟨cea-01834990⟩
119 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More