arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.13229cs.SE
收藏

PARF:静态分析的自适应抽象策略调优器

PARF: An Adaptive Abstraction-Strategy Tuner for Static Analysis

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Fermat Labs, Huawei Inc.(华为技术有限公司芬威实验室);Guangzhou Institute of Technology, Xidian University(西安电子科技大学广州研究院)

Zhongyi Wang, Mingshuai Chen, Tengjie Lin, Linyu Yang, Junhao Zhuo, Qiuye Wang, Shengchao Qin, Xiao Yi, Jianwei Yin

AI总结:

Parf是一个自适应调优静态分析器抽象策略的工具包,通过概率分布建模与迭代细化,在Frama-C/Eva上实现自动化,提升复杂真实程序的分析性能。

摘要:

我们推出了Parf——一个以完全自动化的方式自适应调整静态程序分析器抽象策略的工具包。Parf将各种类型的外部参数(编码抽象策略)建模为随机变量,这些变量服从于格状参数空间上的概率分布。它基于反复采样和分析产生的累积中间结果,逐步细化概率分布,从而最终产生一组高度精确的抽象策略。Parf是在Frama-C/Eva之上实现的,Frama-C/Eva是一个现成的、开源的C程序静态分析器。Parf提供了一个基于Web的用户界面,便于直观地配置静态分析器并可视化抽象策略的动态分布细化过程。它还支持识别Frama-C/Eva分析中的主导参数。基准实验和案例研究证明了Parf在分析复杂、大规模真实世界程序方面的竞争性能。

英文摘要:

We launch Parf - a toolkit for adaptively tuning abstraction strategies of static program analyzers in a fully automated manner. Parf models various types of external parameters (encoding abstraction strategies) as random variables subject to probability distributions over latticed parameter spaces. It incrementally refines the probability distributions based on accumulated intermediate results generated by repeatedly sampling and analyzing, thereby ultimately yielding a set of highly accurate abstraction strategies. Parf is implemented on top of Frama-C/Eva - an off-the-shelf open-source static analyzer for C programs. Parf provides a web-based user interface facilitating the intuitive configuration of static analyzers and visualization of dynamic distribution refinement of the abstraction strategies. It further supports the identification of dominant parameters in Frama-C/Eva analysis. Benchmark experiments and a case study demonstrate the competitive performance of Parf for analyzing complex, large-scale real-world programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑