[VMCAI'24] Automatically Enforcing Rust Trait Properties
Автор: ACM SIGPLAN
Загружено: 2024-04-02
Просмотров: 67
Описание:
[VMCAI'24] Automatically Enforcing Rust Trait Properties
Twain Byrnes, Yoshiki Takashima, Limin Jia
As Rust’s popularity increases, the need for ensuring correctness properties of software written in Rust also increases. In recent years, much work has been done to develop tools to analyze Rust programs, including Property-Based Testing (PBT), model checking, and verification tools. However, developers still need to specify the properties that need to be analyzed and write test harnesses to perform the analysis. We observe that one kind of correctness properties that has been overlooked is correctness invariants of Rust trait implementations; for instance, implementations of the equality trait need to be reflexive, symmetric, and transitive. In this paper, we develop a fully automated tool that allows developers to analyze their implementations of a set of built-in Rust traits. We encoded the test harnesses for the correctness properties of these traits and use Kani to verify them. We evaluated our tool over six open-source Rust libraries and identified three issues in PROST!, a protocol buffer library with nearly 40 million downloads.
Повторяем попытку...
![[VMCAI'24] Automatically Enforcing Rust Trait Properties](https://ricktube.ru/thumbnail/PPDOvRWFZv0/hq720.jpg)
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: