paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Potential Solutions to Challenges in C Program Repair: A Practical Perspective

C 程序修复中挑战的潜在解决方案:一种实践视角
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 2/10 · 该论文关注C程序自动修复中的测试无关修复与预处理指令处理,属于传统程序修复与程序分析方向,未涉及LLM/Agent、浮点程序分析或贝叶斯程序分析,与用户的核心研究方向(PL与AI/LLM交叉)匹配度低。引用 0 inbox
Jifeng Xuan, Qi Xin, Liqian Chen, Xiaoguang Mao
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出面向 C 程序的修复框架,用语法解析生成补丁条件并生成代码符号替代预处理指令,解决测试无关修复与预处理指令处理难题。

自动程序修复旨在减少人工修复缺陷的工作量,过去 15 年涌现了大量新技术。然而,这些技术依赖若干在实际软件开发中难以满足的假设,例如要求测试用例在补丁生成前已写好,或假设特定语言特性可被忽略或已处理,从而严重阻碍了修复技术的落地。本文提出一个 C 程序修复框架,重点应对两个挑战:测试无关修复与预处理指令处理。针对前者,通过解析 C 程序的语法结构自动构造补丁条件;针对后者,生成代码符号来替代预处理指令。作者计划借助程序分析技术实现这些方案。本文目标是向开发者展示可自动执行 C 程序修复的实用解决方案。

问题
现有自动程序修复技术依赖测试充分、语言特性可忽略或已处理等假设,这些假设在真实 C 开发中常不成立,导致修复技术难以实用;本文聚焦测试无关修复与预处理指令处理两个挑战。
方法
提出一个 C 程序修复框架:通过解析语法结构自动构造补丁条件以实现测试无关修复,并通过生成代码符号替换预处理指令;计划用程序分析技术实现这些方案。
评估
摘要未报告具体实验或评估结果;论文定位为提出潜在解决方案与框架的实践视角工作。
原文摘要(Abstract)

Automated program repair is to reduce the manual work for bug fixing by human developers. In recent 15 years, the research community of program repair has created many novel techniques. However, these techniques share several assumptions that cannot always be satisfied in daily software development. This badly hurts the application of program repair in practice. For example, many repair techniques assume that test cases are well written before patch generation; many techniques assume that specific language features can be ignored (or already-processed). In this paper, we propose a framework of C program repair, which mainly addresses two challenges: test-independent repair and preprocessor directive processing. Our solution to test-independent repair is to automatically construct patch conditions for C programs via parsing the syntax structures; our solution to preprocessor directive processing is to generate code symbols to replace preprocessor directives. We plan to implement these potential solutions with program analysis techniques. The goal of this paper is to present practical solutions for developers to automate C program repair.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{XuanXCM23,
  title = {Potential Solutions to Challenges in C Program Repair: A Practical Perspective},
  author = {Jifeng Xuan and Qi Xin and Liqian Chen and Xiaoguang Mao},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00211}
}