Once4All: Skeleton-Guided SMT Solver Fuzzing with LLM-Synthesized Generators
Not on the map. Why?
Abstract (arXiv)
Satisfiability Modulo Theory (SMT) solvers are foundational to modern systems and programming languages research, providing the foundation for tasks like symbolic execution and automated verification. Because these solvers sit on the critical path, their correctness is essential, and high-quality test formulas are key to uncovering bugs. However, while prior testing techniques performed well on earlier solver versions, they struggle to keep pace with rapidly evolving features. Recent approaches based on Large Language Models (LLMs) show promise in exploring advanced solver capabilities, but two obstacles remain: nearly half of the generated formulas are syntactically invalid, and iterative interactions with LLMs introduce substantial computational overhead. In this study, we present Once4All, a novel LLM-assisted fuzzing framework that addresses both issues by shifting from direct formula generation to the synthesis of generators for reusable terms (i.e., logical expressions). Specifically, Once4All uses LLMs to (1) automatically extract context-free grammars (CFGs) for SMT theories, including solver-specific extensions, from documentation, and (2) synthesize composable Boolean term generators that adhere to these grammars. During fuzzing, Once4All populates structural skeletons derived from existing formulas with the terms iteratively produced by the LLM-synthesized generators. This design ensures syntactic validity while promoting semantic diversity. Notably, Once4All requires only one-time LLM interaction investment, dramatically reducing runtime cost. We evaluated Once4All on two leading SMT solvers: Z3 and cvc5. Our experiments show that Once4All has identified 43 confirmed bugs, 40 of which have already been fixed by developers.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 53 references that are in the map. First posted on arXiv 28 Aug 2025.
Builds on
7 of 53 references.
References · 7
- 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
- 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 30
- 2021Bridging Pre-trained Models and Downstream Tasks for Source Code Understandingcited by 28
- 2021Automated Conformance Testing for JavaScript Engines via Deep Compiler Fuzzingcited by 12
- 2025Low-Cost and Comprehensive Non-textual Input Fuzzing with LLM-Synthesized Input Generatorscited by 10
- 2016Skeletal Program Enumeration for Rigorous Compiler Testingcited by 6
- 2020Detecting Critical Bugs in SMT Solvers Using Blackbox Mutational Fuzzingcited by 4
Built on by
Not cited yet.