arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.06035cs.LOcs.PL
收藏

面向超性质的语法引导自动化程序修复

Syntax-Guided Automated Program Repair for Hyperproperties

Raven Beutner, Tzu-Han Hsu, Borzoo Bonakdarpour, Bernd Finkbeiner

AI总结:

针对无限状态程序的 HyperLTL 时序超性质,提出结合符号执行、约束生成与 SyGuS 的迭代透明修复方法,以生成贴近原程序行为的补丁,原型实验结果良好。

摘要:

我们研究了针对时序超性质自动修复无限状态软件程序的问题。作为第一步,我们提出了一种基于符号执行、约束生成以及修复表达式语法引导综合(SyGuS)的时序逻辑 HyperLTL 修复方法。为提升修复质量,我们引入了透明修复的概念,旨在找到一个尽可能接近原始程序的补丁。作为一种实际实现,我们开发了一种迭代修复方法。在该方法中,我们搜索一系列越来越接近原始程序行为的修复。我们在一个原型中实现了该方法,并报告了使用现成 SyGuS 求解器获得的令人鼓舞的实验结果。

英文摘要:

We study the problem of automatically repairing infinite-state software programs w.r.t. temporal hyperproperties. As a first step, we present a repair approach for the temporal logic HyperLTL based on symbolic execution, constraint generation, and syntax-guided synthesis of repair expression (SyGuS). To improve the repair quality, we introduce the notation of a transparent repair that aims to find a patch that is as close as possible to the original program. As a practical realization, we develop an iterative repair approach. Here, we search for a sequence of repairs that are closer and closer to the original program's behavior. We implement our method in a prototype and report on encouraging experimental results using off-the-shelf SyGuS solvers.

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

↑