arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1410.5764cs.FLcs.LOcs.PL
收藏

用迹自动机和有界模型检验证明安全性

Proving Safety with Trace Automata and Bounded Model Checking

Daniel Kroening, Matt Lewis, Georg Weissenbacher

摘要:

循环欠近似是一种技术,它通过额外的分支来丰富C程序,这些分支代表了(有限的)循环迭代范围的效果。虽然这种技术可以显著地加速错误的检测,但它引入了冗余的执行跟踪,这可能使程序的验证复杂化。这对于基于有界模型检验的验证工具尤其如此,该工具结合了简化的算法来确定是否已经考虑了循环的所有可行迭代。我们提出了一种技术,使用\emph{trace automata},以消除执行循环加速后的冗余执行。该方法减小了分析下的程序的直径,这在某些情况下足以允许使用有界模型检验的安全性证明。我们的转换是精确的-它不会引入假阳性,也不会掩盖任何错误。我们已经实现了分析作为一个源到源的转换,并提出了实验结果显示该技术的适用性。

英文摘要:

Loop under-approximation is a technique that enriches C programs with additional branches that represent the effect of a (limited) range of loop iterations. While this technique can speed up the detection of bugs significantly, it introduces redundant execution traces which may complicate the verification of the program. This holds particularly true for verification tools based on Bounded Model Checking, which incorporate simplistic heuristics to determine whether all feasible iterations of a loop have been considered. We present a technique that uses \emph{trace automata} to eliminate redundant executions after performing loop acceleration. The method reduces the diameter of the program under analysis, which is in certain cases sufficient to allow a safety proof using Bounded Model Checking. Our transformation is precise---it does not introduce false positives, nor does it mask any errors. We have implemented the analysis as a source-to-source transformation, and present experimental results showing the applicability of the technique.

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

↑