Authors
Gordon Stewart, Lennart Beringer, Santiago Cuellar, Andrew W Appel
Publication date
2015/1/14
Conference
ACM SIGPLAN Notices
Volume
50
Issue
1
Pages
275-287
Publisher
ACM
Description
This paper reports on the development of Compositional CompCert, the first verified separate compiler for C.
Specifying and proving separate compilation for C is made challenging by the coincidence of: compiler optimizations, such as register spilling, that introduce compiler-managed (private) memory regions into function stack frames, and C's stack-allocated addressable local variables, which may leak portions of stack frames to other modules when their addresses are passed as arguments to external function calls. The CompCert compiler, as built/proved by Leroy etal 2006--2014, has proofs of correctness for whole programs, but its simulation relations are too weak to specify or prove separately compiled modules.
Our technical contributions that make Compositional CompCert possible include: language-independent linking, a new operational model of multilanguage linking that supports strong semantic …
Total citations
201420152016201720182019202020212022202320241101311918181512159
Scholar articles
G Stewart, L Beringer, S Cuellar, AW Appel - Proceedings of the 42nd Annual ACM SIGPLAN …, 2015