From Mechanized Semantics to Verified Compilation: the Clight Semantics of CompCert - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2024

From Mechanized Semantics to Verified Compilation: the Clight Semantics of CompCert

Abstract

CompCert is a formally verified compiler for C that is specified, programmed and proved correct with the Coq proof assistant. CompCert was used in industry to compile critical embedded software. Its correctness proof states that the compiler does not introduce bugs. This semantic preservation property involves the formal semantics of the source and target languages of the compiler. Reasoning on C semantics to prove compiler correctness is challenging, as C is a real language that was not designed with semantics in mind. This paper presents the operational style that was designed for the C semantics of CompCert in order to facilitate the mechanized reasoning on terminating and diverging programs, and details the semantics of the Clight source language of CompCert.
Fichier principal
Vignette du fichier
paper.pdf (438.31 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Licence : CC BY ND - Attribution - NoDerivatives

Dates and versions

hal-04553834 , version 1 (21-04-2024)

Licence

Attribution

Identifiers

Cite

Sandrine Blazy. From Mechanized Semantics to Verified Compilation: the Clight Semantics of CompCert. FASE 2024 - 27th International Conference on Fundamental Approaches to Software Engineering, Apr 2024, Luxembourg, Luxembourg. pp.1-21, ⟨10.1007/978-3-031-57259-3_1⟩. ⟨hal-04553834⟩
8 View
2 Download

Altmetric

Share

Gmail Facebook X LinkedIn More