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

基于切片路径前缀的领域类型引导的精化选择

Domain-Type-Guided Refinement Selection Based on Sliced Path Prefixes

Dirk Beyer, Stefan Löwe, Philipp Wendler

摘要:

摘要抽象是软件验证中的一种成功技术,而在不可行错误路径上的插值是在反例引导的抽象精化中自动检测正确抽象级别的一种成功方法。由于插值有一个显着的影响,抽象的质量,因此,验证的有效性,一个算法,用于获得最佳的可能的插值是可取的。我们提出了一种分析无关的技术,使得它可以从一个给定的不可行的错误路径,如果有几个原因不可行的错误Path.We输入给定的不可行的错误路径,并应用切片技术,以获得一组错误路径,比原来的错误路径更抽象,但仍然是不可行的,每一个不同的原因。新路径的(更抽象的)约束可以被传递到标准插值引擎,以便获得一组插值序列,每个新路径一个。然后分析可以从这组插值序列中选择并选择最合适的,而不是被绑定到插值引擎通常返回的单个插值序列。例如,我们可以根据插值中变量的域类型进行选择,更喜欢避免循环计数器,或者与潜在循环不变量的模板进行比较,从而控制在程序抽象中出现的信息类型。我们在开源验证框架CPAchecker中实现了新算法,并表明我们的证明技术无关的方法显著提高了验证过程的有效性和效率。

英文摘要:

Abstraction is a successful technique in software verification, and interpolation on infeasible error paths is a successful approach to automatically detect the right level of abstraction in counterexample-guided abstraction refinement. Because the interpolants have a significant influence on the quality of the abstraction, and thus, the effectiveness of the verification, an algorithm for deriving the best possible interpolants is desirable. We present an analysis-independent technique that makes it possible to extract several alternative sequences of interpolants from one given infeasible error path, if there are several reasons for infeasibility in the error path. We take as input the given infeasible error path and apply a slicing technique to obtain a set of error paths that are more abstract than the original error path but still infeasible, each for a different reason. The (more abstract) constraints of the new paths can be passed to a standard interpolation engine, in order to obtain a set of interpolant sequences, one for each new path. The analysis can then choose from this set of interpolant sequences and select the most appropriate, instead of being bound to the single interpolant sequence that the interpolation engine would normally return. For example, we can select based on domain types of variables in the interpolants, prefer to avoid loop counters, or compare with templates for potential loop invariants, and thus control what kind of information occurs in the abstraction of the program. We implemented the new algorithm in the open-source verification framework CPAchecker and show that our proof-technique-independent approach yields a significant improvement of the effectiveness and efficiency of the verification process.

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

↑