paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Characterizing and Detecting Program Representation Faults of Static Analysis Frameworks

静态分析框架中程序表示缺陷的刻画与检测
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 3/10 · 论文研究静态分析框架的程序表示缺陷检测,属于程序分析与测试交叉,但未涉及用户核心方向如LLM/Agent、浮点程序分析或贝叶斯程序分析,也非AI与PL的交叉。其工程测试方法有一定参考价值,但整体与研究方向匹配度较低。引用 2 inbox
Huaien Zhang, Yu Pei, Shuyun Liang, Zezhong Xing, Shin Hwei Tan
crossref: 2026-09-12

AI 速览

一句话:通过实证研究与蜕变/差分测试,刻画并自动检测静态分析框架的程序表示缺陷。

静态分析框架(SAF)如 Soot 和 WALA 会将程序转换为调用图等程序表示,供漏洞检测、隐私泄露识别等下游分析使用,因此表示正确性至关重要。本文对 SAF 的程序表示缺陷开展系统实证研究:从四个流行框架收集 141 个 issue,归纳其根因、症状与修复策略,总结九项发现及避免和检测此类缺陷的启示。基于这些启示,作者实现自动化测试框架 SAScope,采用蜕变测试与差分测试。评估表明,SAScope 可检测 19 个程序表示缺陷,其中 6 个已被确认或修复,验证了其有效性。

问题
静态分析框架提供的程序表示若存在缺陷,会误导下游分析;但此类缺陷的成因与系统化检测方法尚未得到充分研究。
方法
收集并分析四个流行静态分析框架的 141 个 issue,归纳程序表示缺陷的根因、症状与修复策略;基于所得启示,采用蜕变测试与差分测试实现自动化测试框架 SAScope。
评估
运行 SAScope 检测到 19 个程序表示缺陷,其中 6 个已被确认或修复,表明该框架能够有效发现此类缺陷。
原文摘要(Abstract)

Static analysis frameworks (SAFs) such as Soot and WALA have been a fundamental support in today’s software analysis. They usually adopt various analysis techniques to transform programs into different representations which imply specific properties, e.g., call graph can demonstrate the calling relationships between methods in a program, and users rely on these program representations for further analysis like vulnerability detection and privacy leakage recognition. Hence, providing proper program representation is essential for SAFs. We conducted a systematic empirical study on program representation faults of static analysis frameworks. In our study, we first collect 141 issues from four popular SAFs and summarize their root causes, symptoms, and fix strategies, and reveal nine findings and some implications to avoid and detect program representation faults. Additionally, we implemented an automated testing framework named SAScope based on the metamorphic and differential testing motivated by findings and implications. Overall, SAScope can detect 19 program representation faults where 6 of them have been confirmed or fixed, demonstrating its effectiveness.

链接与引用

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

BibTeX
@inproceedings{paperbot8464,
  title = {Characterizing and Detecting Program Representation Faults of Static Analysis Frameworks},
  author = {Huaien Zhang and Yu Pei and Shuyun Liang and Zezhong Xing and Shin Hwei Tan},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3680398}
}