arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01309cs.SE
收藏

无执行程序修复

Execution-free Program Repair

Li Huang, Bertrand Meyer, Ilgiz Mustafin, Manuel Oriol

AI总结:

针对自动程序修复依赖测试导致成本高且无法保证正确性的问题,本文提出 Proof2Fix 方法与工具,利用程序证明器在不运行程序或测试的情况下发现并修复历史缺陷。

摘要:

自动程序修复通常严重依赖测试用例来识别缺陷并验证修复。问题在于,编写测试用例十分繁琐,运行测试耗费大量时间,而且通过测试验证修复并不能保证其正确性。本文提出的 Proof2Fix 方法和工具的新颖思路是转而依赖程序证明器,无需运行测试,也完全无需运行程序。结果表明,Proof2Fix 能够发现并修复重要的历史缺陷。

英文摘要:

Automatic program repair usually relies heavily on test cases for both bug identification and fix validation. The issue is that writing test cases is tedious, running them takes much time, and validating a fix through tests does not guarantee its correctness. The novel idea in the Proof2Fix methodology and tool presented here is to rely instead on a program prover, without the need to run tests or to run the program at all. Results show that Proof2Fix finds and fixes significant historical bugs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑