Proceedings of the ACM on Programming Languages · 2019 · 65 citations · 21 references
ComputingComputer ScienceComputer SystemsFormal MethodsProgramming LanguagesSystems ProgrammingConcurrency VerificationControl-flow AnalysisDeductive VerificationMemory ConsistencyType CheckingType SystemsData Race AnalysisData Race ConditionsLambda CalculusReclamationRelaxed Memory ModelsResource ReclamationSeparation LogicSoundness
The Rust programming language supports safe systems programming by means of a strong ownership-tracking type system. In their prior work on RustBelt, Jung et al. began the task of setting Rust’s safety claims on a more rigorous formal foundation. Specifically, they used Iris, a Coq-based separation logic framework, to build a machine-checked proof of semantic soundness for a λ-calculus model of Rust, as well as for a number of widely-used Rust libraries that internally employ unsafe language features. However, they also made the significant simplifying assumption that the language is sequentially consistent. In this paper, we adapt RustBelt to account for the relaxed-memory operations that concurrent Rust libraries actually use, in the process uncovering a data race in the Arc library. We focus on the most interesting technical problem: how to reason about resource reclamation under relaxed memory , using a logical construction we call synchronized ghost state .
21
Separation logic: a logic for shared mutable data structures
John Reynolds · 2003 · 2.2K citations
Checking interference with fractional permissions
2003 · 388 citations
Permission accounting in separation logic
Richard Bornat, Cristiano Calcagno, Peter W. O’Hearn et al. · 2005 · 370 citations