paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Fresh Look at Zones and Octagons

重新审视 Zones 与 Octagons
TOPLAS 43(3)2021匹配度 3/10 · 论文研究 Zones 和 Octagons 抽象域的实现与优化,属于静态分析和抽象解释的核心技术,但未涉及 LLM/Agent、机器学习系统、浮点程序分析或贝叶斯程序分析等用户当前关注的具体交叉方向。引用 10 inbox
Graeme Gange, Zequn Ma, Jorge A. Navas, Peter Schachte, Harald Søndergaard, Peter J. Stuckey
crossref: 2026-09-10

AI 速览

一句话:提出基于改进图数据结构与算法的 Zones 和 Octagons 抽象域快速实现,显著提升静态分析性能与验证效果。

Zones 与 Octagons 是静态程序分析中常用的抽象域,用于自动发现程序变量之间的简单数值关系。二者数学基础清晰,但具体实现面临诸多算法挑战。本文重新研究这两个抽象域及其实现和使用,针对表示差分约束的图,采用改进的数据结构与算法,构建共享基础设施上的快速实现。作者在标准基准上比较同类精度的替代方法,测量速度与精度,并在软件验证场景中考察精度提升对验证结果的影响。实验表明,新实现显著推进了 Zones 和 Octagons 的当前技术水平。

问题
如何高效实现 Zones 和 Octagons 抽象域,在保持精度的同时提升静态数值分析的速度,并理解精度提升对软件验证的影响。
方法
利用改进的图数据结构与算法处理差分约束,在共同基础设施上实现两个抽象域,并与相同精度的替代方案比较。
评估
在标准基准上测量速度与精度,并在软件验证任务中评估验证结果改善程度。
原文摘要(Abstract)

Zones and Octagons are popular abstract domains for static program analysis. They enable the automated discovery of simple numerical relations that hold between pairs of program variables. Both domains are well understood mathematically but the detailed implementation of static analyses based on these domains poses many interesting algorithmic challenges. In this article, we study the two abstract domains, their implementation and use. Utilizing improved data structures and algorithms for the manipulation of graphs that represent difference-bound constraints, we present fast implementations of both abstract domains, built around a common infrastructure. We compare the performance of these implementations against alternative approaches offering the same precision. We quantify the differences in performance by measuring their speed and precision on standard benchmarks. We also assess, in the context of software verification, the extent to which the improved precision translates to better verification outcomes. Experiments demonstrate that our new implementations improve the state of the art for both Zones and Octagons significantly.

链接与引用

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

BibTeX
@article{paperbot1214,
  title = {A Fresh Look at Zones and Octagons},
  author = {Graeme Gange and Zequn Ma and Jorge A. Navas and Peter Schachte and Harald Søndergaard and Peter J. Stuckey},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {43},
  number = {3},
  year = {2021},
  doi = {10.1145/3457885}
}