Satisfiability modulo fuzzing: a synergistic combination of SMT solving and fuzzing
Sujit Kumar Muduli, Subhajit Roy
Abstract
Programming languages and software engineering tools routinely encounter components that are difficult to reason on via formal techniques or whose formal semantics are not even available—third-party libraries, inline assembly code, SIMD instructions, system calls, calls to machine learning models, etc. However, often access to these components is available as input-output oracles—interfaces are available to query these components on certain inputs to receive the respective outputs. We refer to such functions as closed-box functions . Regular SMT solvers are unable to handle such closed-box functions. We propose Sādhak, a solver for SMT theories modulo closed-box functions. Our core idea is to use a synergistic combination of a fuzzer to reason on closed-box functions and an SMT engine to solve the constraints pertaining to the SMT theories. The fuzz and the SMT engines attempt to converge to a model by exchanging a rich set of interface constraints that are relevant and interpretable by them. Our implementation, Sādhak, demonstrates a significant advantage over the only other solver that is capable of handling such closed-box constraints: Sādhak solves 36.45% more benchmarks than the best-performing mode of this state-of-the-art solver and has 5.72x better PAR-2 score; on the benchmarks that are solved by both tools, Sādhak is (on an average) 14.62x faster.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get bdaf452e-c97c-4c12-af21-ededf776e6edCited by top-tier papers3
- Speeding up SMT Solving via Compiler OptimizationBenjamin Mikek, Qirun ZhangFSE 2023 · 11 citations
- Verification Modulo Tested Library ContractsAbhishek Uppar, Omar Muhammad, Sumanth Prabhu S, Deepak D'Souza et al.PLDI 2026 · 1 citation
- SMT Theory Arbitrage: Approximating Unbounded Constraints using Bounded TheoriesBenjamin Mikek, Qirun ZhangPLDI 2024 · 1 citation
Related papers
- LLM-Assisted Unsatisfiability Proofs for Satisfiability Modulo Theories, Oracles, and Natural LanguageGourav Takhar, Sumit Lahiri, Pankaj Kumar Kalita, Subhajit RoyOOPSLA 2026
- Orax: A Feedback-Driven Framework for Efficiently Solving Satisfiability Modulo Theories and OraclesZhineng Zhong, Ziqi Zhang, Hanqin Guan, Ding LiOOPSLA 2025 · 1 citation
- Fuzzing Symbolic ExpressionsLuca Borzacchiello, Emilio Coppa, Camil DemetrescuICSE 2021 · 25 citations
- Almost correct invariants: synthesizing inductive invariants by fuzzing proofsSumit Lahiri, Subhajit RoyISSTA 2022 · 18 citations
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 citations
