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

面向并发的无回归综合

Regression-free Synthesis for Concurrency

Pavol Černý, Thomas A. Henzinger, Arjun Radhakrishna, Leonid Ryzhyk, Thorsten Tarrach

摘要:

在修复并发错误的同时,程序修复算法可能会引入新的并发错误。我们提出了一个算法,避免这种回归。解决方案的空间是由一组程序转换,我们认为在修复过程。这些包括在线程内重新排序指令和插入原子部分。新算法从正例(无错误迹)和反例(错误迹)中学习候选解空间上的约束。从每个反例中,算法学习一个必要的约束来消除错误。从每个肯定的例子中,它学习一个必要的约束,以防止修复将跟踪变成错误跟踪。我们实现了该算法,并评估了简化的Linux设备驱动程序与已知的错误。

英文摘要:

While fixing concurrency bugs, program repair algorithms may introduce new concurrency bugs. We present an algorithm that avoids such regressions. The solution space is given by a set of program transformations we consider in for repair process. These include reordering of instructions within a thread and inserting atomic sections. The new algorithm learns a constraint on the space of candidate solutions, from both positive examples (error-free traces) and counterexamples (error traces). From each counterexample, the algorithm learns a constraint necessary to remove the errors. From each positive examples, it learns a constraint that is necessary in order to prevent the repair from turning the trace into an error trace. We implemented the algorithm and evaluated it on simplified Linux device drivers with known bugs.

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

↑