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

指针程序的有界模型检验

Bounded Model Checking of Pointer Programs Revisited

Witold Charatonik, Piotr Witkowski

摘要:

指针程序的有界模型检验是一种调试技术,用于操作堆上动态分配的指针结构的程序。它基于以下四点意见。第一,错误条件(如悬空指针的解引用)可以用双变量一阶逻辑的~片段来表示。其次,片段在最弱的前提条件wrt下是封闭的。有限路径第三,数据结构,如树、列表等,可以通过在数据库片段中定义的归纳谓词来表达。最后,双变量逻辑和数据库的两个片段的组合是可判定的。在本文中,我们通过扩展底层逻辑的表达能力来改进这种技术。在~序列的例子中,我们证明了新的逻辑是能够建模更复杂的数据结构与更复杂的依赖堆和更复杂的分析。

英文摘要:

Bounded model checking of pointer programs is a debugging technique for programs that manipulate dynamically allocated pointer structures on the heap. It is based on the following four observations. First, error conditions like dereference of a dangling pointer, are expressible in a~fragment of first-order logic with two-variables. Second, the fragment is closed under weakest preconditions wrt. finite paths. Third, data structures like trees, lists etc. are expressible by inductive predicates defined in a fragment of Datalog. Finally, the combination of the two fragments of the two-variable logic and Datalog is decidable. In this paper we improve this technique by extending the expressivity of the underlying logics. In a~sequence of examples we demonstrate that the new logic is capable of modeling more sophisticated data structures with more complex dependencies on heaps and more complex analyses.

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

↑