A Trace-based Approach for Code Safety Analysis
By: Hui Xu
Potential Business Impact:
Makes computer code safer from mistakes.
Rust is a memory-safe programming language that disallows undefined behavior. Its safety guarantees have been extensively examined by the community through empirical studies, which has led to its remarkable success. However, unsafe code remains a critical concern in Rust. By reviewing the safety design of Rust and analyzing real-world Rust projects, this paper establishes a systematic framework for understanding unsafe code and undefined behavior, and summarizes the soundness criteria for Rust code. It further derives actionable guidance for achieving sound encapsulation.
Similar Papers
A Trace-based Approach for Code Safety Analysis
Programming Languages
Makes computer code safer from mistakes.
Lessons Learned So Far From Verifying the Rust Standard Library (work-in-progress)
Programming Languages
Makes computer code safer, even when tricky.
Annotating and Auditing the Safety Properties of Unsafe Rust
Programming Languages
Helps programmers write safer computer code.