paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Enhancing Compositional Static Analysis with Dynamic Analysis

用动态分析增强组合式静态分析
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 4/10 · 论文聚焦静态分析与动态分析结合以增强 Infer 对 Erlang 的缺陷检测,并包含 WhatsApp 工业落地案例,与用户对静态分析工程化、工业界落地和问题驱动研究的兴趣部分吻合;但完全不涉及 LLM/Agent、机器学习系统、浮点程序分析或贝叶斯程序分析,因此与其当前核心交叉方向匹配有限。引用 1 inbox
Dino Distefano, Matteo Marescotti, Cons Ahs, Sopot Cela, Gabriela Cunha Sampaio, Radu Grigore, Akos Hajdu, Timotej Kapus, Ke Mao, Thibault Suzanne
crossref: 2026-09-12

AI 速览

一句话:将动态分析数据注入 Infer 的 Erlang 组合静态分析,在 WhatsApp 代码上显著提升缺陷检出。

本文提出一种利用动态分析改进真实代码静态分析的新方法,目标是提升组合式静态分析在实际工业代码中的缺陷检测能力。作者将 FAUSTA 动态分析获得的数据补充到 Infer 的 Erlang 静态分析器中,并给出了结合静态与动态分析的具体算法。案例研究在 WhatsApp 的 Erlang 代码上评估该方法,结果表明:在使用动态分析数据的运行中,76% 的运行检测到更多缺陷;平均而言,动态分析为 1 个函数提供的数据可支持静态分析额外处理 2.1 个函数。此外,动态数据还使静态分析能够验证一个仅靠静态分析无法验证的性质。

问题
组合式静态分析在真实工业代码上常受限于分析精度与可扩展性,难以单独发现某些缺陷和性质。
方法
将 FAUSTA 动态分析得到的数据注入 Infer 的 Erlang 静态分析,设计并实现结合静态与动态信息的分析算法。
评估
在 WhatsApp 的 Erlang 代码上进行案例研究,统计缺陷检出变化与动态数据对静态分析函数覆盖的增益,并验证仅靠静态分析无法验证的性质。
原文摘要(Abstract)

In this paper we introduce a novel method for improving static analysis of real code by using dynamic analysis. We have implemented our technique to enhance the Infer static analyzer [6] for Erlang by supplementing its analysis with data obtained by FAUSTA [24] dynamic analysis. We present the technical details of the algorithm combining static and dynamic analysis and a case study on its evaluation on WhatsApp's Erlang code to detect software defects. Results show an increase in detected bugs in 76% of the runs when data from dynamic analysis is used. In particular, on average, data provided by dynamic analysis for 1 function enables static analysis of 2.1 additional functions. Moreover, dynamic data enabled analysis of a property not verifiable using static analysis alone.

链接与引用

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

BibTeX
@inproceedings{paperbot8285,
  title = {Enhancing Compositional Static Analysis with Dynamic Analysis},
  author = {Dino Distefano and Matteo Marescotti and Cons Ahs and Sopot Cela and Gabriela Cunha Sampaio and Radu Grigore and Akos Hajdu and Timotej Kapus and Ke Mao and Thibault Suzanne},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695599}
}