paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context Debloating for Object-Sensitive Pointer Analysis

面向对象敏感指针分析的上下文精简
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 3/10 · 该论文是面向面向对象语言的对象敏感指针分析优化,属于静态分析与抽象解释的基础技术,但未涉及用户核心关注的 ML/Agentic 程序分析、LLM 与静态分析交叉、浮点程序分析或贝叶斯程序分析。虽然其理论条件与工程实现结合的风格符合偏好,但应用场景和研究问题与画像交集很小。引用 10 inbox
Dongjie He, Jingbo Lu, Jingling Xue
crossref: 2026-09-12

AI 速览

一句话:提出 Conch,通过近似对象上下文依赖的线性条件精简对象敏感指针分析的调用上下文,在几乎不损失精度下大幅加速。

对象敏感指针分析通过方法的接收者对象区分调用上下文,但会导致上下文数量膨胀,分析开销巨大。本文提出 Conch,用三条线性可验证的条件近似对象成为 context-dependent 的两个必要条件,这些条件对真实面向对象程序几乎总是必要。为实现该思路,作者引入基于 IFDS 的对象可达性推理算法。在 12 个 Java 程序上对两个代表性对象敏感指针分析进行上下文精简,Conch 使两个基线平均加速 3.1 倍,最高 15.9 倍,并额外可扩展分析 7 个程序,而精度损失小于 0.1%。

问题
对象敏感指针分析为每个方法按接收者对象区分调用上下文,导致上下文爆炸和分析开销过大。
方法
提出 Conch,基于三个观察用三条线性可验证条件近似对象的 context-dependability,并设计基于 IFDS 的对象可达性算法来精简上下文。
评估
在 12 个 Java 程序上对两个代表性对象敏感分析应用 Conch,平均加速 3.1 倍,最高 15.9 倍,额外可分析 7 个程序,精度损失小于 0.1%。
原文摘要(Abstract)

We Introduce a new approach, Conch, for debloating contexts for all the object-sensitive pointer analysis algorithms developed for object-oriented languages, where the calling contexts of a method are distinguished by its receiver objects. Our key insight is to approximate a recently proposed set of two necessary conditions for an object to be context-sensitive, i.e., context-dependent (whose precise verification is undecidable) with a set of three linearly verifiable conditions (in terms of the number of statements in the program) that are almost always necessary for real-world object-oriented applications, based on three key observations regarding context-dependability for their objects used. To create a practical implementation, we introduce a new IFDS-based algorithm for reasoning about object reachability in a program. By debloating contexts for two representative object-sensitive pointer analyses applied to a set of 12 representative Java programs, Conch can speed up the two baselines together substantially (3.1x on average with a maximum of 15.9x) and analyze 7 more programs scalably, but at only a negligible loss of precision (less than 0.1%).

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6497,
  title = {Context Debloating for Object-Sensitive Pointer Analysis},
  author = {Dongjie He and Jingbo Lu and Jingling Xue},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678880}
}