arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0904.4709cs.SEcs.PL
收藏

基于大块编码的软件模型检验

Software Model Checking via Large-Block Encoding

Dirk Beyer, Alessandro Cimatti, Alberto Griggio, M. Erkan Keremoglu, Roberto Sebastiani

摘要:

抽象可达树(ART)的构造和分析是软件验证方法成功的基础。ART表示程序的控制流图的展开。传统上,ART的转换表示程序的单个块,因此,我们称这种方法为单块编码(SBE)。SBE可能会导致大量的程序路径被探索,这构成了效率低下的根本原因。我们提出了一个概括的方法,其中过渡的艺术代表更大的部分程序,我们称之为这种方法的大块编码(LBE)。LBE可以将待探索的路径的数量减少到指数级。在这个框架内,我们还研究了符号表示:对于表示抽象状态,除了在SBE中使用的合取,我们研究了使用任意布尔公式;对于计算抽象后继状态,除了在SBE中使用的笛卡尔谓词抽象,我们研究了使用布尔谓词抽象。新的编码利用了最先进的SMT求解器的效率,它可以象征性地计算抽象的大块后继。我们在基准C程序上的实验表明,大块编码优于单块编码。

英文摘要:

The construction and analysis of an abstract reachability tree (ART) are the basis for a successful method for software verification. The ART represents unwindings of the control-flow graph of the program. Traditionally, a transition of the ART represents a single block of the program, and therefore, we call this approach single-block encoding (SBE). SBE may result in a huge number of program paths to be explored, which constitutes a fundamental source of inefficiency. We propose a generalization of the approach, in which transitions of the ART represent larger portions of the program; we call this approach large-block encoding (LBE). LBE may reduce the number of paths to be explored up to exponentially. Within this framework, we also investigate symbolic representations: for representing abstract states, in addition to conjunctions as used in SBE, we investigate the use of arbitrary Boolean formulas; for computing abstract-successor states, in addition to Cartesian predicate abstraction as used in SBE, we investigate the use of Boolean predicate abstraction. The new encoding leverages the efficiency of state-of-the-art SMT solvers, which can symbolically compute abstract large-block successors. Our experiments on benchmark C programs show that the large-block encoding outperforms the single-block encoding.

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

↑