计算机科学 > 计算机科学中的逻辑
[提交于 2026年6月16日]
标题:Verifying the Rust Standard Library
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Rust's type system prevents many classes of memory errors, yet its standard library relies heavily on unsafe code whose correctness is validated through testing, including dynamic checks under Miri, but lacks static verification. We present what is, to the best of our knowledge, the largest verification campaign reported for a software library: an open, crowdsourced effort that integrates complementary verification tools into the continuous integration of a verification repository forked from the Rust standard library. We analyze the campaign's effectiveness, discuss the practical value of machine-checked proofs for a subset of undefined behaviors (e.g., out-of-bounds access, null and dangling pointer dereferences, and use of uninitialized memory), and frame the remaining obstacles as open challenges for the formal-methods community.
提交历史
来自:Felipe R. Monteiro[v1] 2026年6月16日 星期二 00:11:04 UTC