arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1410.5088cs.LO
收藏

堆操作程序的安全性和可终止性的命题推理

Propositional Reasoning about Safety and Termination of Heap-Manipulating Programs

Cristina David, Daniel Kroening, Matt Lewis

摘要:

本文表明,它是可能的原因处理潜在的循环,单链表使用命题推理的程序的安全性和终止,即使当安全不变量和终止参数依赖于列表长度的约束。为此,我们提出了单链表长度的理论SLH,它能够捕捉形状和算术之间的非平凡的相互作用。当使用位向量算术的理论作为背景时,SLH通过约简到SAT是有效可判定的。我们使用它来表达安全不变量和终止参数的程序操纵潜在的循环,单链表与不受限制的,未指定的共享软件验证的实用程序SLH。我们还提供了一个实现的决策过程,并使用它来检查几个堆操作程序的安全性和终止证明。

英文摘要:

This paper shows that it is possible to reason about the safety and termination of programs handling potentially cyclic, singly-linked lists using propositional reasoning even when the safety invariants and termination arguments depend on constraints over the lengths of lists. For this purpose, we propose the theory SLH of singly-linked lists with length, which is able to capture non-trivial interactions between shape and arithmetic. When using the theory of bit-vector arithmetic as a background, SLH is efficiently decidable via a reduction to SAT. We show the utility of SLH for software verification by using it to express safety invariants and termination arguments for programs manipulating potentially cyclic, singly-linked lists with unrestricted, unspecified sharing. We also provide an implementation of the decision procedure and use it to check safety and termination proofs for several heap-manipulating programs.

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

↑