Title
Towards certified separate compilation for concurrent programs
Abstract
Certified separate compilation is important for establishing end-to-end guarantees for certified systems consisting of multiple program modules. There has been much work building certified compilers for sequential programs. In this paper, we propose a language-independent framework consisting of the key semantics components and lemmas that bridge the verification gap between the compilers for sequential programs and those for (race-free) concurrent programs, so that the existing verification work for the former can be reused. One of the key contributions of the framework is a novel footprint-preserving compositional simulation as the compilation correctness criterion. The framework also provides a new mechanism to support confined benign races which are usually found in efficient implementations of synchronization primitives. With our framework, we develop CASCompCert, which extends CompCert for certified separate compilation of race-free concurrent Clight programs. It also allows linking of concurrent Clight modules with x86-TSO implementations of synchronization primitives containing benign races. All our work has been implemented in the Coq proof assistant.
Year
DOI
Venue
2019
10.1145/3314221.3314595
Proceedings of the 40th ACM SIGPLAN Conference on Programming Language Design and Implementation
Keywords
Field
DocType
Certified Compilers, Concurrency, Data-Race-Freedom, Simulations
Synchronization,Programming language,Computer science,Concurrency,Correctness,Theoretical computer science,Compiler,Implementation,Certification,Semantics,Proof assistant
Conference
ISBN
Citations 
PageRank 
978-1-4503-6712-7
0
0.34
References 
Authors
0
5
Name
Order
Citations
PageRank
Hanru Jiang100.68
Hongjin Liang2875.88
Siyang Xiao300.34
Junpeng Zha400.34
Xinyu Feng544330.52