Fuzzing Guided by Bayesian Program Analysis
Open Access
- 8 January 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 10 (POPL) , 476-506
Abstract
We propose a novel approach that leverages Bayesian program analysis to guide large-scale target-guided greybox fuzzing (LTGF). LTGF prioritizes program locations (targets) that are likely to contain bugs and applies directed mutation towards high-priority targets. However, existing LTGF approaches suffer from coarse and heuristic target prioritization strategies, and lack a systematic design to fully exploit feedback from the fuzzing process. We systematically define this prioritization process as the reachable fuzzing targets problem. Bayesian program analysis attaches probabilities to analysis rules and transforms the analysis results into a Bayesian model. By redefining the semantics of Bayesian program analysis, we enable the prediction of whether each target is reachable by the fuzzer, and dynamically adjust the predictions based on fuzzer feedback. On the one hand, Bayesian program analysis builds Bayesian models based on program semantics, enabling systematic and fine-grained prioritization. On the other hand, Bayesian program analysis systematically learns feedback from the fuzzing process, making its guidance adaptive. Moreover, this combination extends the application of Bayesian program analysis from alarm ranking to fully automated bug discovery. We implement our approach and evaluate it against several state-of-the-art fuzzers. On a suite of real-world programs, our approach discovers 3.25 × to 13 × more unique bugs compared to baselines. In addition, our approach identifies 39 previously unknown bugs in well-tested programs, 30 of which have been assigned CVEs.Keywords
Funding Information
- National Natural Science Foundation of China (62172017, W2411051)
This publication has 30 references indexed in Scilit:
- Titan : Efficient Multi-target Directed Greybox Fuzzing2024
- SelectFuzz: Efficient Directed Fuzzing with Selective Path Exploration2023
- BEACON: Directed Grey-Box Fuzzing with Provable Path Pruning2022
- PATA: Fuzzing with Path Aware Taint Analysis2022
- Effective Seed Scheduling for Fuzzing with Graph Centrality Analysis2022
- An Empirical Study of OSS-Fuzz Bugs2021
- SAVIOR: Towards Bug-Driven Hybrid Testing2020
- Fuzz testing in practice: Obstacles and solutions2018
- Static Program Analysis as a Fuzzing Aid2017
- Nonparametric Statistical Methods2015