跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机科学中的逻辑

arXiv:2307.06346 (cs)
[提交于 2023年7月12日 (v1),最后修订于 2025年2月14日 (此版本, v5)]

标题:Compositional Shape Analysis with Shared Abduction and Biabductive Loop Acceleration (Extended Version)

作者:Florian Sextl, Adam Rogalewicz, Tomáš Vojnar, Florian Zuleger
查看论文《Compositional Shape Analysis with Shared Abduction and Biabductive Loop Acceleration (Extended Version)》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Biabduction-based shape analysis is a compositional verification and analysis technique that can prove memory safety in the presence of complex, linked data structures. Despite its usefulness, several open problems persist for this kind of analysis; two of which we address in this paper. On the one hand, the original analysis is path-sensitive but cannot combine safety requirements for related branches. This causes the analysis to require additional soundness checks and decreases the analysis' precision. We extend the underlying symbolic execution and propose a framework for shared abduction where a common pre-condition is maintained for related computation branches. On the other hand, prior implementations lift loop acceleration methods from forward analysis to biabduction analysis by applying them separately on the pre- and post-condition, which can lead to imprecise or even unsound acceleration results that do not form a loop invariant. In contrast, we propose biabductive loop acceleration, which explicitly constructs and checks candidate loop invariants. For this, we also introduce a novel heuristic called shape extrapolation. This heuristic takes advantage of locality in the handling of list-like data structures (which are the most common data structures found in low-level code) and jointly accelerates pre- and post-conditions by extrapolating the related shapes. In addition to making the analysis more precise, our techniques also make biabductive analysis more efficient since they are sound in just one analysis phase. In contrast, prior techniques always require two phases (as the first phase can produce contracts that are unsound and must hence be verified). We experimentally confirm that our techniques improve on prior techniques; both in terms of precision and runtime of the analysis.
评论: 42 pages, 10 figures, 10 listings, accepted at ESOP 2025
主题: 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2307.06346 [cs.LO]
  (或者 arXiv:2307.06346v5 [cs.LO] 对于此版本)
  https://doi.org/10.48550/arXiv.2307.06346

提交历史

来自:Florian Sextl
[v1] 2023年7月12日 星期三 17:16:58 UTC
[v2] 2023年11月23日 星期四 18:48:17 UTC
[v3] 2024年10月31日 星期四 09:26:10 UTC
[v4] 2025年1月27日 星期一 14:53:25 UTC
[v5] 2025年2月14日 星期五 13:16:22 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LO
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-02
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站