Formal Verification of a C Compiler Front-end - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2006

Formal Verification of a C Compiler Front-end


This paper presents the formal verification of a compiler front-end that translates a subset of the C language into the Cminor intermediate language. The semantics of the source and target languages as well as the translation between them have been written in the specification language of the Coq proof assistant. The proof of observational semantic equivalence between the source and generated code has been machine-checked using Coq. An executable compiler was obtained by automatic extraction of executable Caml code from the Coq specification of the translator, combined with a certified compiler back-end generating PowerPC assembly code from Cminor, described in previous work.
Fichier principal
Vignette du fichier
fm06Blazy.pdf (159.03 Ko) Télécharger le fichier

Dates and versions

inria-00106401 , version 1 (16-10-2006)



Sandrine Blazy, Zaynah Dargaye, Xavier Leroy. Formal Verification of a C Compiler Front-end. FM'06: 14th Symposium on Formal Methods, Aug 2006, Hamilton, Canada. pp.460-475, ⟨10.1007/11813040_31⟩. ⟨inria-00106401⟩
181 View
406 Download



Gmail Facebook Twitter LinkedIn More