paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Boosting static analysis accuracy with instrumented test executions

利用插桩测试执行提升静态分析准确性
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 4/10 · 论文属于静态分析告警排序,结合动态测试执行与概率排序,与用户在静态分析及概率/贝叶斯程序分析方面的兴趣有部分重叠,但不涉及 LLM/Agent,也不针对 ML 系统或浮点程序分析,因此与当前核心研究方向匹配度较低。引用 17 inbox
Tianyi Chen, Kihong Heo, Mukund Raghothaman
crossref: 2026-09-12

AI 速览

一句话:提出 DynaBoost,利用插桩测试执行信息对静态分析告警进行概率排序,显著降低人工检查负担。

静态分析与动态测试各有优势:前者穷尽探索并给出行为上界,后者提供具体行为证据且误报率低。本文提出 DynaBoost,通过插桩程序在测试执行中动态检查静态分析器预测的数据流行为,并据此构建概率化告警排序系统。用户反复检查最可能为真 bug 的告警,系统根据反馈重新排序剩余告警。该组合能利用用户难以直接提供的信息。评估表明,相比基线排序系统,人工检查告警负担降低 35%;相比无辅助程序员的人工分类,负担降低 89%。

问题
如何利用动态测试执行中的具体证据来提升静态分析告警排序的准确性,减少人工检查告警的负担。
方法
构建 DynaBoost:插桩程序以在测试执行中验证静态分析预测的数据流行为,并基于此建立概率化告警排序与用户反馈再排序机制。
评估
在告警检查负担上评估:相比基线排序系统降低 35%,相比无辅助人工分类降低 89%。
原文摘要(Abstract)

The two broad approaches to discover properties of programs---static and dynamic analyses---have complementary strengths: static techniques perform exhaustive exploration and prove upper bounds on program behaviors, while the dynamic analysis of test cases provides concrete evidence of these behaviors and promise low false alarm rates. In this paper, we present DynaBoost, a system which uses information obtained from test executions to prioritize the alarms of a static analyzer. We instrument the program to dynamically look for dataflow behaviors predicted by the static analyzer, and use these results to bootstrap a probabilistic alarm ranking system, where the user repeatedly inspects the alarm judged most likely to be a real bug, and where the system re-ranks the remaining alarms in response to user feedback. The combined system is able to exploit information that cannot be easily provided by users, and provides significant improvements in the human alarm inspection burden: by 35% compared to the baseline ranking system, and by 89% compared to an unaided programmer triaging alarm reports.

链接与引用

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

BibTeX
@inproceedings{paperbot6311,
  title = {Boosting static analysis accuracy with instrumented test executions},
  author = {Tianyi Chen and Kihong Heo and Mukund Raghothaman},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468626}
}