Score: 0

A Trace-based Approach for Code Safety Analysis

Published: October 12, 2025 | arXiv ID: 2510.10410v1

By: Hui Xu

Potential Business Impact:

Makes computer code safer from mistakes.

Business Areas:
Developer Tools Software

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.

Page Count
7 pages

Category
Computer Science:
Programming Languages