paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CPA-DF: A Tool for Configurable Interval Analysis to Boost Program Verification

CPA-DF:一种可配置的区间分析工具,用于提升程序验证
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 3/10 · 该论文属于传统程序分析与形式验证,提出基于区间抽象域的可配置数据流分析工具,但未涉及 LLM/Agent、机器学习系统、浮点程序分析或贝叶斯程序分析,与用户关注的 PL 与 AI 交叉方向匹配度低。引用 5 inbox
Dirk Beyer, Po-Chun Chien, Nian-Ze Lee
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出并评估 CPA-DF,一种基于区间抽象域的可配置数据流分析,可独立或并行增强程序验证。

程序验证常需辅助不变式提升效果。CPACHECKER 的 k-归纳实现利用可配置数据流分析生成不变式来强化归纳假设,CPA-DF 正是该生成器,以区间上的算术表达式为抽象域,并能独立证明部分安全验证任务。作者在 SV-Benchmarks 上广泛评估后发现其潜力被低估:作为独立分析,其证明数量接近无辅助不变式的 plain k-induction;作为与 plain k-induction 并行的子分析,可达到与经过深度优化并注入不变式的 k-induction 相当的任务求解数。分析表明动态精度调整对效率和效果至关重要。进一步用 CoVeriTeam 将 CPA-DF 与三个先进验证器组成并行组合,正确结果最多提升超过 20%。

问题
程序验证中,辅助不变式能提升验证效果,但区间不变式的生成及其独立或并行使用价值尚未被充分评估。
方法
实现可配置数据流分析 CPA-DF,以区间算术表达式为抽象域,通过动态精度调整生成不变式,并支持独立运行或与 k-归纳及其他验证器并行组合。
评估
在 SV-Benchmarks 的 C 安全验证任务上评估,并与 plain/优化 k-induction 比较;还用 CoVeriTeam 与三个先进验证器组成并行组合验证器。
原文摘要(Abstract)

Software verification is challenging, and auxiliary program invariants are used to improve the effectiveness of verification approaches. For instance, the k-induction implementation in CPACHECKER, an award-winning framework for program analysis, uses invariants produced by a configurable data-flow analysis to strengthen induction hypotheses. This invariant generator, CPA-DF, uses arithmetic expressions over intervals as its abstract domain and is able to prove some safe verification tasks alone. After extensively evaluating CPA-DF on SV-Benchmarks, the largest publicly available suite of C safety-verification tasks, we discover that its potential as a stand-alone analysis or a sub-analysis in a parallel portfolio for combined verification approaches has been significantly underestimated: (1) As a stand-alone analysis, CPA-DF finds almost as many proofs as the plain k-induction implementation without auxiliary invariants. (2) As a sub-analysis running in parallel to the plain k-induction implementation, CPA-DF boosts the portfolio verifier to solve a comparable amount of tasks as the heavily-optimized k-induction implementation with invariant injection. Our detailed analysis reveals that dynamic precision adjustment is crucial to the efficiency and effectiveness of CPA-DF. To generalize our results beyond CPACHECKER, we use CoVeriteam,a platform for cooperative verification, to compose three portfolio verifiers that execute CPA-DF and three other software verifiers in parallel, respectively. Surprisingly, running CPA-DF merely in parallel to these state-of-the-art tools further boosts the number of correct results up to more than 20 %. Demonstration video: https://youtu.be/l7UG-vhTL_4

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{BeyerCL23,
  title = {CPA-DF: A Tool for Configurable Interval Analysis to Boost Program Verification},
  author = {Dirk Beyer and Po-Chun Chien and Nian-Ze Lee},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00213}
}