重访插值与基于SAT的模型检测:适配软件验证
Interpolation and SAT-Based Model Checking Revisited: Adoption to Software Verification
AI总结:
本研究将McMillan 2003年提出的基于插值的SAT模型检测算法适配到软件验证领域,在CPAchecker框架实现并通过公开C安全验证基准测试证明其具备竞争力,填补了该算法20年未用于程序验证的研究空白。
摘要:
《插值与基于SAT的模型检测》(McMillan, 2003)一文提出了一种形式验证算法,最初用于验证有限状态转移系统的安全性。该算法从不可满足的BMC(有界模型检测)查询中推导插值项,收集这些插值项来构建可达状态集合的过近似。尽管已有20年历史,该算法在硬件模型检测领域仍处于前沿水平。\n不同于k-induction(k归纳法)或PDR(属性导向可达性)等其他形式验证算法——这些算法已被扩展用于处理无限状态系统,并在程序分析领域得到研究,McMillan于2003年提出的基于插值的模型检测算法迄今尚未被用于程序验证。\n我们的贡献是填补这一存在了20年的重要研究空白,将该算法适配到软件验证场景。我们在验证框架CPAchecker中实现了该算法,并在最大的公开C语言安全验证任务基准测试集上,将该实现与其他前沿软件验证技术进行了对比评估。评估结果表明,McMillan 2003年提出的基于插值的模型检测算法,在可解决的验证任务数量和运行效率两方面都具备竞争力。我们的研究结果对软件验证领域具有重要意义,因为研究人员和开发者现在又多了一种可选的方法。
英文摘要:
The article "Interpolation and SAT-Based Model Checking" (McMillan, 2003) describes a formal-verification algorithm, which was originally devised to verify safety properties of finite-state transition systems. It derives interpolants from unsatisfiable BMC queries and collects them to construct an overapproximation of the set of reachable states. Although 20 years old, the algorithm is still state-of-the-art in hardware model checking. Unlike other formal-verification algorithms, such as k-induction or PDR, which have been extended to handle infinite-state systems and investigated for program analysis, McMillan's interpolation-based model-checking algorithm from 2003 has not been used to verify programs so far. Our contribution is to close this significant, two decades old gap in knowledge by adopting the algorithm to software verification. We implemented it in the verification framework CPAchecker and evaluated the implementation against other state-of-the-art software-verification techniques on the largest publicly available benchmark suite of C safety-verification tasks. The evaluation demonstrates that McMillan's interpolation-based model-checking algorithm from 2003 is competitive among other algorithms in terms of both the number of solved verification tasks and the run-time efficiency. Our results are important for the area of software verification, because researchers and developers now have one more approach to choose from.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。