The Verified Software Toolchain (VST) is a system for proving correctness of C programs using separation logic. By connecting to the verified compiler CompCert, it produces the strongest possible guarantees of correctness for real C code that we can compile and run. VST included concurrency from its inception, in the form of reasoning about lock invariants, but concurrent separation logic (CSL) has advanced by leaps and bounds since then. In this paper, we describe efforts to integrate advancements from Iris, a state-of-the-art mechanized CSL, into VST. Some features of Iris (ghost state and invariants) are re-implemented in VST from the ground up; others (Iris Proof Mode) are imported from the Iris development; still others (proof rules for atomic operations) are axiomatized, with the hope that they will be made foundational in future versions. The result is a system that can prove correctness of sophisticated concurrent programs implemented in C, with fine-grained locking and non-blocking atomic operations, that yields varying soundness guarantees depending on the features used.
翻译:经过验证的软件工具链(VST)是使用分离逻辑来证明C程序正确性的系统。 通过连接到经过核实的编译器 CompCert, 它为我们可以编译和运行的真实C代码提供了最有力的准确性保证。 VST从一开始就包括了共通货币, 其形式是锁定变异物的推理, 但同时的分离逻辑(CSL)自那时起通过跳跃和界限向前推进。 在本文中, 我们描述了将Iris(一个最先进的机械化的CPL)的进步纳入VST的努力。 Iris(宿主状态和变异体)的某些特征从地面上重新在VST中实施; 其它(Iris验证模式)则从Iris开发中导入; 还有一些(原子操作的校准规则)是分解的, 希望它们在未来版本中成为基础。 其结果是能够证明在C执行的精密同步程序( 精细的锁定和不设屏蔽的原子操作) 的系统准确性, 产生根据所使用的特性的不同保证。