arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07455cs.PL
收藏

RustCompCert: 一个经过验证并验证的Rust编译器

RustCompCert: A Verified and Verifying Compiler for a Sequential Subset of Rust

Shanghai Jiao Tong University(上海交通大学);University of Minnesota(明尼苏达大学)

Jinhua Wu, Yuting Wang, Liukun Yu, Linglong Meng

AI总结:

RustCompCert是一个基于CompCert开发的经过验证的Rust编译器,提供语义保持和内存安全保证,简化了Rust程序的验证过程。

摘要:

我们介绍了基于CompCert开发端到端验证Rust编译器的持续工作。该编译器提供了两个保证:一是从Rust到汇编的语义保持,即源代码的行为包括目标代码的行为,从而可以将源代码中验证的属性保持到目标代码;另一个是通过验证编译确保的内存安全性——即借检查阶段,这可以简化Rust程序的验证,例如通过允许验证工具专注于功能正确性。

英文摘要:

We present our ongoing work on developing an end-to-end verified Rust compiler based on CompCert. It provides two guarantees: one is semantics preservation from Rust to assembly, i.e., the behaviors of source code includes the behaviors of target code, with which the properties verified at the source can be preserved down to the target; the other is memory safety ensured by the verifying compilation -- the borrow checking pass, which can simplify the verification of Rust programs, e.g., by allowing the verification tools focus on the functional correctness.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑