arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1004.5382cs.LO
收藏

基于模块化三值抽象求精的软件接口构造

Interface Building for Software by Modular Three-Valued Abstraction Refinement

Pritam Roy

摘要:

软件系统的验证是一个非常困难的问题,由于程序状态空间的大小。传统的技术(如模型检验)不能扩展,因为它们通过内联库函数代码来包括整个状态空间。目前的研究避免了这些问题,通过创建一个轻量级的表示形式的“接口图”(调用序列图)的库。在本文中,我们介绍了一个新的算法来计算一个安全的,允许的接口图的C-型函数。在这种模块化分析中,每个函数转换都遵循三值抽象语义。这里使用了两种抽象。全局抽象只包含全局变量上的谓词;然而,每个函数内部的局部抽象也可以包含局部变量。摘要需要细化,以保证安全性和可操作性。我们在TICC工具中实现了这些算法,并将该算法与相关的接口生成算法进行了比较。我们还讨论了接口作为离线测试集的应用。我们从模型程序(规范)中创建一个接口,该接口将作为新的被测实现(IUT)的测试套件。

英文摘要:

Verification of software systems is a very hard problem due to the large size of program state-space. The traditional techniques (like model checking) do not scale; since they include the whole state-space by inlining the library function codes. Current research avoids these problem by creating a lightweight representation of the library in form of an "interface graph" (call sequence graph). In this paper we introduce a new algorithm to compute a safe, permissive interface graph for C-type functions. In this modular analysis, each function transition is summarized following three-valued abstraction semantics. There are two kinds of abstraction used here. The global abstraction contains predicates over global variables only; however the local abstraction inside each function may also contain the local variables. The abstract summary needs refinement to guarantee safety and permissiveness. We have implemented the algorithms in TICC tool and compared this algorithm with some related interface generation algorithms. We also discuss the application of interface as an offline test-suite. We create an interface from the model program (specification) and the interface will act as a test-suite for the new implementation-under-test (IUT).

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

↑