Formal Verification of a C-like Memory Model and Its Uses for Verifying Program Transformations
- First Online:
- Cite this article as:
- Leroy, X. & Blazy, S. J Autom Reasoning (2008) 41: 1. doi:10.1007/s10817-008-9099-0
This article presents the formal verification, using the Coq proof assistant, of a memory model for low-level imperative languages such as C and compiler intermediate languages. Beyond giving semantics to pointer-based programs, this model supports reasoning over transformations of such programs. We show how the properties of the memory model are used to prove semantic preservation for three passes of the Compcert verified compiler.
KeywordsMemory model C Program verification Compilation Compiler correctness The Coq proof assistant
Unable to display preview. Download preview PDF.