Home

Testing and Verifying Rust’s Next Mile


Speaker

Yoshiki Takashima postdoc, Yale Law School

Time

2025-10-31 12:30:00 ~ 2025-10-31 13:30:00

Location

电信群楼三号楼3-426B室

Host

汪宇霆

Abstract
While the Rust language provides memory safety by default, functional correctness and safety of programs using unsafe code remain unchecked. This thesis aims to improve the quality of Rust code and assist adoption of Rust by developing automatic testing and verification techniques for analyzing properties unchecked by the language. For testing unsafe library APIs, we develop Rust semantic-aware synthesizers that generate well-typed Rust API calls to efficiently search through the state space guided by types. We develop SyRust (PLDI’21), a synthesizer equipped with awareness of the Rust type semantics. Semantic awareness allows SyRust to generate well-typed API tests for polymorphic Rust library APIs and find memory safety bugs in them. To overcome the scalability limitations of SyRust on large API sets found in popular libraries, we develop Crabtree (OOPSLA’24), a heuristic-guided API test synthesis algorithm that leverages code coverage and coverage over Rust types to guide the synthesis of tests. Results indicate Crabtree yields higher and quicker code coverage over SyRust. We also develop automatic tools for lightweight Rust verification and testing of less explored properties such as developer-annotated assertions, trait invariants, and translation equivalence.
Bio
Yoshiki Takashima is a postdoc at Yale Law School applying formal and automated reasoning to law. He received his Ph.D. from CMU in 2024 with a dissertation focusing on testing and verification tools that leverage properties of the Rust programming language.
© John Hopcroft Center for Computer Science, Shanghai Jiao Tong University
分享到

地址:上海市东川路800号上海交通大学软件大楼专家楼
邮箱:jhc@sjtu.edu.cn 电话:021-54740299
邮编:200240