paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Peahen: fast and precise static deadlock detection via context reduction

Peahen:基于上下文归约的快速精确静态死锁检测
FSE Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2022匹配度 2/10 · 该论文研究并发程序的通用静态死锁检测,属于程序分析与抽象解释方向,但未涉及用户画像中的核心交叉点:LLM/Agentic 程序、LLM 辅助静态分析、浮点程序分析或贝叶斯程序分析。虽然静态分析技术本身与用户背景相关,但研究目标与应用场景与当前追踪问题距离较远。引用 15 inbox
Yuandao Cai, Chengfeng Ye, Qingkai Shi, Charles Zhang
crossref: 2026-09-12

AI 速览

一句话:提出 Peahen,通过上下文不敏感锁图构建和惰性精化,实现精确且可扩展的静态死锁检测。

死锁仍严重危害现代软件系统的可靠性与安全性。已有静态死锁检测器难以同时兼顾精度与可扩展性:上下文不敏感的方法会产生大量误报,而上下文敏感的方法又因调用上下文爆炸而牺牲效率。本文提出 Peahen,将高精度所需计算分解为两个协作阶段:一是上下文不敏感的锁图构建,选择性地在边上编码必要的锁获取信息;二是三种精确而惰性的精化,将边信息用于逐步精化锁图中的死锁环,且仅针对少量感兴趣的调用上下文。由此,Peahen 试图在避免上下文爆炸的同时保持较高精度。摘要未给出具体实验数据或量化结果。

问题
静态死锁检测中精度与可扩展性难以兼得:上下文不敏感分析易产生误报,上下文敏感分析则面临调用上下文爆炸问题。
方法
Peahen 分两阶段协作:先进行上下文不敏感的锁图构建,在边上选择性编码关键锁获取信息;再用三种精确而惰性的精化,仅对少量感兴趣的调用上下文逐步精化死锁环。
评估
摘要未报告实验设置、基准测试或量化结果,主要通过方法设计说明其兼顾精度与可扩展性的思路。
原文摘要(Abstract)

Deadlocks still severely inflict reliability and security issues upon software systems of the modern age. Worse still, as we note, in prior static deadlock detectors, good precision does not go hand-in-hand with high scalability --- their approaches are either context-insensitive, thereby engendering many false positives, or suffer from the calling context explosion to reach context-sensitive, thus compromising good efficiency. In this paper, we advocate Peahen, geared towards precise yet also scalable static deadlock detection. At its crux, Peahen decomposes the computational effort for embracing high precision into two cooperative analysis stages: (i) context-insensitive lock-graph construction, which selectively encodes the essential lock-acquisition information on each edge, and (ii) three precise yet lazy refinements, which incorporate such edge information into progressively refining the deadlock cycles in the lock graph only for a few interesting calling contexts.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot7027,
  title = {Peahen: fast and precise static deadlock detection via context reduction},
  author = {Yuandao Cai and Chengfeng Ye and Qingkai Shi and Charles Zhang},
  booktitle = {FSE},
  year = {2022},
  doi = {10.1145/3540250.3549110}
}