PARF: An Adaptive Abstraction-Strategy Tuner for Static Analysis
Zhongyi Wang, Mingshuai Chen, Tengjie Lin, Linyu Yang, Junhao Zhuo, Qiuye Wang, Shengchao Qin, Xiao Yi, Jianwei Yin
TL;DR
Parf addresses the challenge of automatically tuning abstraction strategies in static analysis by modeling external parameters as probabilistic variables over latticed spaces and iteratively refining their distributions under a time budget. It introduces a compositional random-variable model with base and delta components to enable incremental knowledge retention and adaptive exploration, and it presents the Parf architecture with a web UI and distribution-refinement algorithms. Empirical results on OSCS benchmarks and SV-COMP tasks show Parf achieving state-of-the-art alarm reduction and verification improvements, along with insights into dominant parameters that drive accuracy-efficiency tradeoffs. The work advances practical static analysis by enabling scalable, automated configuration of analyzers like Frama-C/Eva and by providing interpretability through dominancy analyses and case studies.
Abstract
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.
