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

条件模型检验

Conditional Model Checking

Dirk Beyer, Thomas A. Henzinger, M. Erkan Keremoglu, Philipp Wendler

摘要:

软件模型检验是一个不可判定的问题,它有三种可能的结果:(1)程序满足规格说明,(2)程序不满足规格说明,(3)模型检验失败。第三种结果通常表现为空格、超时或验证工具的一个组件放弃;在所有这些失败的情况下,验证工具在失败之前执行了大量计算,但没有报告结果。我们建议将模型检查问题重新表述如下,以便即使在失败的情况下,验证工具也能报告所执行工作的摘要:给定一个程序和一个规范,模型检查器返回一个条件P -通常是一个状态谓词-这样程序在条件P下满足规范-也就是说,只要程序不离开满足P的状态。我们当然对返回尽可能弱的条件P的模型检查器感兴趣。代替结果(1),模型检查器将返回P = true;代替(2),条件P将返回满足规范的状态空间部分;在情况(3)中,条件P可以总结模型检查器在空间超时,超时或放弃之前所执行的工作。如果需要完全验证,则可以使用不同的验证方法或工具来关注违反条件的状态。我们给这样的条件作为输入的条件模型检查器,这样的验证问题被限制在状态空间的一部分,满足条件。我们的实验表明,重复应用条件模型检查器,使用不同的条件,可以显着提高验证结果,状态空间覆盖率和性能。

英文摘要:

Software model checking, as an undecidable problem, has three possible outcomes: (1) the program satisfies the specification, (2) the program does not satisfy the specification, and (3) the model checker fails. The third outcome usually manifests itself in a space-out, time-out, or one component of the verification tool giving up; in all of these failing cases, significant computation is performed by the verification tool before the failure, but no result is reported. We propose to reformulate the model-checking problem as follows, in order to have the verification tool report a summary of the performed work even in case of failure: given a program and a specification, the model checker returns a condition P ---usually a state predicate--- such that the program satisfies the specification under the condition P ---that is, as long as the program does not leave states in which P is satisfied. We are of course interested in model checkers that return conditions P that are as weak as possible. Instead of outcome (1), the model checker will return P = true; instead of (2), the condition P will return the part of the state space that satisfies the specification; and in case (3), the condition P can summarize the work that has been performed by the model checker before space-out, time-out, or giving up. If complete verification is necessary, then a different verification method or tool may be used to focus on the states that violate the condition. We give such conditions as input to a conditional model checker, such that the verification problem is restricted to the part of the state space that satisfies the condition. Our experiments show that repeated application of conditional model checkers, using different conditions, can significantly improve the verification results, state-space coverage, and performance.

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

↑