形状与内容:将领域知识转化为形状分析
Shape and Content: Incorporating Domain Knowledge into Shape Analysis
摘要:
验证团体主要通过分析指针和由指针引起的形状,以自底向上的方式研究动态数据结构。最近在诸如分离逻辑等领域的工作在从程序源代码中提取形状方面取得了重大进展。然而,许多现实世界的程序处理复杂的数据,其结构和内容是最自然的形式主义,从面向对象的编程和数据库描述。在本文中,我们从内容表示的角度来研究具有动态数据结构的程序的验证。我们的方法是基于描述逻辑,一个广泛使用的知识表示范式,它提供了一个逻辑基础,如UML和ER不同的建模框架。从技术上讲,我们假设我们有从形状分析工具获得的分离逻辑形状不变量,以及在描述逻辑方面对程序数据的要求。我们证明了具有计数和树%的一阶逻辑的双变量片段(其可判定性在LICS 2013上得到了证明)可以用作嵌入描述逻辑和分离逻辑的合适片段的联合框架。
英文摘要:
The verification community has studied dynamic data structures primarily in a bottom-up way by analyzing pointers and the shapes induced by them. Recent work in fields such as separation logic has made significant progress in extracting shapes from program source code. Many real world programs however manipulate complex data whose structure and content is most naturally described by formalisms from object oriented programming and databases. In this paper, we look at the verification of programs with dynamic data structures from the perspective of content representation. Our approach is based on description logic, a widely used knowledge representation paradigm which gives a logical underpinning for diverse modeling frameworks such as UML and ER. Technically, we assume that we have separation logic shape invariants obtained from a shape analysis tool, and requirements on the program data in terms of description logic. We show that the two-variable fragment of first order logic with counting and trees %(whose decidability was proved at LICS 2013) can be used as a joint framework to embed suitable fragments of description logic and separation logic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。