Lune

OOPSLA2026顶会

Bringing Foundational Verification to Real-World Rust Code

Lennard Gäher, Vincent Lafeychine, Sascha Kehrli, Avraham Shinnar, Wojciech Ozga, Guerney Hunt, Derek Dreyer

摘要

Rust is a modern systems programming language that, thanks to its strong memory safety guarantees, is well-suited to the domain of safety-critical systems. Since memory safety alone is not ultimately enough for safety-critical systems, there have emerged in recent years a number of tools for deductive verification of functional correctness of Rust programs. One recent tool, RefinedRust, is notable in that it both handles unsafe pointer-manipulating Rust code and produces foundational, machine-checked proofs in the Rocq prover. However, RefinedRust is a prototype tool and lacks support for several of the high-level abstractions that Rust provides, including traits, closures, and iterators. These features are commonly used in real-world Rust code, and are supported by other non-foundational Rust verification tools like Prusti and Creusot.

In this paper, we show how to extend RefinedRust with these features, and in a manner such that they can be used in conjunction with unsafe code. We demonstrate its usefulness by verifying interesting parts of the memory subsystem of the real-world, low-level ACE security monitor, including its page allocator.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • RefinedC: automating the foundational verification of C code with refined ownership types 引用了 RustBelt meets relaxed memory
  • Verus: Verifying Rust Programs using Linear Ghost Types 引用了 RustBelt meets relaxed memory
  • Verus: Verifying Rust Programs using Linear Ghost Types 引用了 RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe code
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs 引用了 RefinedC: automating the foundational verification of C code with refined ownership types
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs 引用了 Verus: Verifying Rust Programs using Linear Ghost Types
  • RefinedRust: A Type System for High-Assurance Verification of Rust Programs 引用了 RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe code
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper9

  1. Verus: Verifying Rust Programs using Linear Ghost TypesAndrea Lattuada, Travis Hance, Chanhee Cho, Matthias Brun 等OOPSLA 2023 · 86 次引用
  2. RefinedC: automating the foundational verification of C code with refined ownership typesMichael Sammler, Rodolphe Lepigre, Robbert Krebbers, Kayvan Memarian 等PLDI 2021 · 83 次引用
  3. RustBelt meets relaxed memoryHoang-Hai Dang, Jacques-Henri Jourdan, Jan-Oliver Kaiser, Derek DreyerPOPL 2020 · 68 次引用
  4. RustHornBelt: a semantic foundation for functional verification of Rust programs with unsafe codeYusuke Matsushita, Xavier Denis, Jacques-Henri Jourdan, Derek DreyerPLDI 2022 · 44 次引用
  5. RefinedRust: A Type System for High-Assurance Verification of Rust ProgramsLennard Gäher, Michael Sammler, Ralf Jung, Robbert Krebbers 等PLDI 2024 · 29 次引用

相关 Paper

  1. Rust yDL: A Program Logic for RustDaniel Drodt, Reiner HähnleFM 2026
  2. Modular specification and verification of closures in RustFabian Wolff, Aurel Bílý, Christoph Matheja, Peter Müller 等OOPSLA 2021 · 23 次引用
  3. CULPA: Universal Detection of Memory-Safety Bugs in Unsafe Rust Through the Lens of Safety RequirementsHung-Mao Chen, Bo Lu, Xu He, Xiaokuan Zhang 等USENIX Security 2026
  4. Miri: Practical Undefined Behavior Detection for RustRalf Jung, Benjamin Kimock, Christian Poveda, Eduardo Sánchez Muñoz 等POPL 2026 · 8 次引用
  5. Securing unsafe rust programs with XRustPeiming Liu, Gang Zhao, Jeff HuangICSE 2020 · 28 次引用
黄昏的海面,两侧是细线勾勒的悬崖