Mechanized Semantics for the Clight Subset of the C Language
Open accessThe DOI matches its Crossref record; 16 of the 16 references it cites were found in a registry or an index.
Abstract
This article presents the formal semantics of a large subset of the C language called Clight. Clight includes pointer arithmetic, struct and union types, C loops and structured switch statements. Clight is the source language of the CompCert verified compiler. The formal semantics of Clight is a big-step operational semantics that observes both terminating and diverging executions and produces traces of input/output events. The formal semantics of Clight is mechanized using the Coq proof assistant. In addition to the semantics of Clight, this article describes its integration in the CompCert verified compiler and several ways by which the semantics was validated.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Milner, R., Harper, R., MacQueen, D., & Tofte, M. (1997) · The MIT Press eBooks · doi:10.7551/mitpress/2319.001.0001 · Cited by 2,419
CUTE: a concolic unit testing engine for C
Sen, K., Marinov, D., & Agha, G. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081750 · Cited by 1,651
Interactive Theorem Proving and Program Development
Bertot, Y., & Castéran, P. (2004) · Texts in Theoretical Computer Science An EATCS Series · doi:10.1007/978-3-662-07964-5 · Cited by 1,353
CIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
Necula, G. C., McPeak, S., Rahul, S. P., & Weimer, W. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45937-5_16 · Cited by 977
A machine-checked model for a Java-like language, virtual machine, and compiler
Klein, G., & Nipkow, T. (2006) · ACM Transactions on Programming Languages and Systems · doi:10.1145/1146809.1146811 · Cited by 246
Formal Verification of a C Compiler Front-End
Blazy, S., Dargaye, Z., & Leroy, X. (2006) · Lecture notes in computer science · doi:10.1007/11813040_31 · Cited by 188
Self-citationCoinductive big-step operational semantics
Leroy, X., & Grall, H. (2008) · Information and Computation · doi:10.1016/j.ic.2007.12.004 · Cited by 177
Self-citationMulti-prover Verification of C Programs
Filliâtre, J.-C., & Marché, C. (2004) · Lecture notes in computer science · doi:10.1007/978-3-540-30482-1_10 · Cited by 167
Formal Verification of a C-like Memory Model and Its Uses for Verifying Program Transformations
Leroy, X., & Blazy, S. (2008) · Journal of Automated Reasoning · doi:10.1007/s10817-008-9099-0 · Cited by 159
Self-citationAn overview of the saturn project
Aiken, A., Bugrara, S., Dillig, I., Dillig, T., Hackett, B., & Hawkins, P. (2007) · ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering (PASTE) · doi:10.1145/1251535.1251543 · Cited by 123
Java Program Verification via a Hoare Logic with Abrupt Termination
Huisman, M., & Jacobs, B. (2000) · Lecture notes in computer science · doi:10.1007/3-540-46428-x_20 · Cited by 119
Condit, J., Harren, M., McPeak, S., Necula, G. C., & Weimer, W. R. (2003) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/781131.781157 · Cited by 112
Separation Logic for Small-Step cminor
Appel, A. W., & Blazy, S. (2007) · Lecture notes in computer science · doi:10.1007/978-3-540-74591-4_3 · Cited by 101
Self-citationFormalizing the safety of Java, the Java virtual machine, and Java card
Hartel, P., & Moreau, L. (2001) · ACM Computing Surveys · doi:10.1145/503112.503115 · Cited by 85
Safer language subsets: an overview and a case history, MISRA C
Hatton, L. (2003) · Information and Software Technology · doi:10.1016/j.infsof.2003.09.016 · Cited by 66
A Formal Model of Memory Peculiarities for the Verification of Low-Level Operating-System Code
Tews, H., Weber, T., & Völp, M. (2008) · Electronic Notes in Theoretical Computer Science · doi:10.1016/j.entcs.2008.06.043 · Cited by 23
Cited by
Formal verification of a realistic compiler
Leroy, X. (2009) · Communications of the ACM · doi:10.1145/1538788.1538814 · Cited by 1,187
Self-citationA Formally Verified Compiler Back-end
Leroy, X. (2009) · Journal of Automated Reasoning · doi:10.1007/s10817-009-9155-4 · Cited by 503
Self-citationAn executable formal semantics of C with applications
Ellison, C., & Rosu, G. (2012) · ACM SIGPLAN Notices · doi:10.1145/2103621.2103719 · Cited by 188
Executable formal semantics for the POSIX shell
Greenberg, M., & Blatt, A. J. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3371111 · Cited by 21
DafnyBench: A Benchmark for Formal Software Verification
Loughridge, C., Sun, Q., Ahrenbach, S., Cassano, F., Sun, C., Sheng, Y., Mudide, A., Misu, M. R. H., Amin, N., & Tegmark, M. (2024) · arXiv · doi:10.48550/arxiv.2406.08467 · Cited by 6
Metadata
- Authors
- Blazy, S., & Leroy, X.
- Venue
- Journal of Automated Reasoning
- Published
- 2009-07-24
- Volume
- 43
- Issue
- 3
- Pages
- 263-288
- ISSN
- 0168-7433 (ISSN-L)
- 1573-0670
- OpenAlex
- W2084175640
- Cited by
- 162
- References
- 16
- FWCI
- 8.67
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.