paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Rust-lancet: Automated Ownership-Rule-Violation Fixing with Behavior Preservation

Rust-lancet:行为保持的所有权规则违规自动修复
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 3/10 · 该论文属于 Rust 所有权规则违规的自动修复与行为保持,涉及静态分析和程序修复,但未涉及 LLM/Agent、浮点程序分析或贝叶斯程序分析,也未面向 ML 系统或 Agentic 程序,因此与研究方向核心交集有限。引用 8 inbox
Wenzhang Yang, Linhai Song, Yinxing Xue
crossref: 2026-09-12

AI 速览

一句话:提出 Rust-lancet,在保持程序行为的前提下自动修复 Rust 所有权规则违规。

Rust 旨在同时提供内存安全与运行时性能,为此在编译期对安全规则进行严格静态检查,从而消除困扰 C/C++ 的内存安全问题。然而,这些安全规则给 Rust 程序员带来编程挑战:用户研究显示,程序员在编写 Rust 代码时容易违反安全规则,导致代码被编译器拒绝。为提升 Rust 的可编程性,本文提出 Rust-lancet,尝试自动化修复安全规则违规(尤其是所有权规则违规),并在修复过程中保持程序行为。摘要未详细说明具体修复方法与实验评估,但明确了自动修复所有权规则违规并保持行为这一目标。

问题
Rust 严格的编译期安全规则(如所有权规则)容易被程序员违反,导致代码编译失败,且缺乏自动修复手段。
方法
摘要仅提出 Rust-lancet 以自动化修复所有权规则违规并保持行为,未展开具体技术方法。
评估
摘要未提供实验评估细节与结果。
原文摘要(Abstract)

As a relatively new programming language, Rust is designed to provide both memory safety and runtime performance. To achieve this goal, Rust conducts rigorous static checks against its safety rules during compilation, effectively eliminating memory safety issues that plague C/C++ programs. Although useful, the safety rules pose programming challenges to Rust programmers, since programmers can easily violate safety rules when coding in Rust, leading their code to be rejected by the Rust compiler, a fact underscored by a recent user study. There exists a desire to automate the process of fixing safety-rule violations to enhance Rust's programmability.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11320,
  title = {Rust-lancet: Automated Ownership-Rule-Violation Fixing with Behavior Preservation},
  author = {Wenzhang Yang and Linhai Song and Yinxing Xue},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639103}
}