From Mechanized Semantics to Verified Compilation: the Clight Semantics of CompCert - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2024

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

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)
Licence

Dates et versions

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

Licence

Identifiants

Citer

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⟩
24 Consultations
51 Téléchargements

Altmetric

Partager

More