计算机科学 > 操作系统
[提交于 2024年12月31日]
标题:Combining Type Checking and Formal Verification for Lightweight OS Correctness
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This paper reports our experience of providing lightweight correctness guarantees to an open-source Rust OS, Theseus. First, we report new developments in intralingual design that leverage Rust's type system to enforce additional invariants at compile time, trusting the Rust compiler. Second, we develop a hybrid approach that combines formal verification, type checking, and informal reasoning, showing how the type system can assist in increasing the scope of formally verified invariants. By slightly lessening the strength of correctness guarantees, this hybrid approach substantially reduces the proof effort. We share our experience in applying this approach to the memory subsystem and the 10 Gb Ethernet driver of Theseus, demonstrate its utility, and quantify its reduced proof effort.
提交历史
来自:Ramla Ijaz[v1] 2024年12月31日 星期二 03:35:03 UTC