paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Fast Graph Simplification for Interleaved-Dyck Reachability

面向 Interleaved-Dyck 可达性的快速图简化
TOPLAS 44(2)2022匹配度 4/10 · 论文属于程序分析与图可达性核心方向,提出 InterDyck 可达性的图简化方法,与静态分析相关;但未涉及用户当前重点关注的 LLM/Agentic 程序静态分析、浮点程序分析或贝叶斯程序分析,匹配较间接。引用 12 inbox
Yuanbo Li, Qirun Zhang, Thomas Reps
crossref: 2026-09-10

AI 速览

一句话:提出一种与具体 InterDyck 可达性算法正交的图预处理简化方法,安全删除不贡献交错 Dyck 路径的边,提升精度与可扩展性。

许多程序分析问题可归约为图可达性,其中 InterDyck 可达性可同时建模上下文敏感、域敏感和指针解引用等依赖。精确 InterDyck 可达性不可判定,现有方法只能过近似。本文从简化输入图出发:若一条边不参与任何 InterDyck 路径,则可安全删除,据此设计了快速图简化算法。该技术与具体 InterDyck 形式化和过近似算法正交,可作为预处理步骤。作者将其用于 Android 污点分析图,并在三种主流 InterDyck 可达性算法上评估,结果显示可扩展性与精度均获提升,部分场景提升显著。

问题
精确 InterDyck 可达性不可判定,现有过近似方法在精度和可扩展性之间难以兼顾;如何在不依赖特定可达性算法的前提下改善二者。
方法
提出基于边贡献判定的图简化预处理:删除不参与任何 InterDyck 路径的边,缩减输入图,且与任意 InterDyck 过近似算法正交。
评估
在 Android 污点分析图上,用三种主流 InterDyck 可达性算法进行实验,比较简化前后精度与可扩展性。
原文摘要(Abstract)

Many program-analysis problems can be formulated as graph-reachability problems. Interleaved Dyck language reachability ( InterDyck -reachability) is a fundamental framework to express a wide variety of program-analysis problems over edge-labeled graphs. The InterDyck language represents an intersection of multiple matched-parenthesis languages (i.e., Dyck languages). In practice, program analyses typically leverage one Dyck language to achieve context-sensitivity, and other Dyck languages to model data dependencies, such as field-sensitivity and pointer references/dereferences. In the ideal case, an InterDyck -reachability framework should model multiple Dyck languages simultaneously . Unfortunately, precise InterDyck -reachability is undecidable. Any practical solution must over-approximate the exact answer. In the literature, a lot of work has been proposed to over-approximate the InterDyck -reachability formulation. This article offers a new perspective on improving both the precision and the scalability of InterDyck -reachability: we aim at simplifying the underlying input graph G . Our key insight is based on the observation that if an edge is not contributing to any InterDyck -paths, we can safely eliminate it from G . Our technique is orthogonal to the InterDyck -reachability formulation and can serve as a pre-processing step with any over-approximating approach for InterDyck -reachability. We have applied our graph simplification algorithm to pre-processing the graphs from a recent InterDyck -reachability-based taint analysis for Android. Our evaluation of three popular InterDyck -reachability algorithms yields promising results. In particular, our graph-simplification method improves both the scalability and precision of all three InterDyck -reachability algorithms, sometimes dramatically.

链接与引用

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

BibTeX
@article{paperbot1617,
  title = {Fast Graph Simplification for Interleaved-Dyck Reachability},
  author = {Yuanbo Li and Qirun Zhang and Thomas Reps},
  journal = {ACM Transactions on Programming Languages and Systems},
  volume = {44},
  number = {2},
  year = {2022},
  doi = {10.1145/3492428}
}