Finding and Understanding Incompleteness Bugs in SMT Solvers
Mauro Bringolf, Dominik Winterer, Zhendong Su
Abstract
We propose Janus, an approach for finding incompleteness bugs in SMT solvers. The key insight is to mutate SMT formulas with local weakening and strengthening rules that preserve the satisfiability of the seed formula. The generated mutants are used to test SMT solvers for incompleteness bugs, i.e., inputs on which SMT solvers unexpectedly return unknown. We realized Janus on top of the SMT solver fuzzing framework YinYang. From June to August 2021, we stress-tested the two state-of-the-art SMT solvers Z3 and CVC5 with Janus and totally reported 31 incompleteness bugs. Out of these, 26 have been confirmed as unique bugs and 19 are already fixed by the developers. Our diverse bug findings uncovered functional, regression, and performance bugs—several triggered discussions among the developers sharing their in-depth analysis.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Skeletal approximation enumeration for SMT solver testing cites Automatically testing string solvers
- Skeletal approximation enumeration for SMT solver testing cites Validating SMT solvers via semantic fusion
- Skeletal approximation enumeration for SMT solver testing cites Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
- Interrogation Testing of CHC Solvers cites Skeletal approximation enumeration for SMT solver testing
- Interrogation Testing of CHC Solvers cites Automatically testing string solvers
- Interrogation Testing of CHC Solvers cites Validating SMT solvers via semantic fusion
- Interrogation Testing of CHC Solvers cites Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
- Validating SMT solvers via semantic fusion cites Automatically testing string solvers
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzing cites Automatically testing string solvers
- Validating Mixed-Integer Programming Solvers cites Skeletal approximation enumeration for SMT solver testing
- Validating Mixed-Integer Programming Solvers cites Automatically testing string solvers
- Validating Mixed-Integer Programming Solvers cites Validating SMT solvers via semantic fusion
- Validating Mixed-Integer Programming Solvers cites Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
Cited by top-tier papers2
Builds on5
- SlowFuzz: Automated Domain-Independent Detection of Algorithmic Complexity VulnerabilitiesTheofilos Petsios, Jason Zhao, Angelos D. Keromytis, Suman JanaCCS 2017 · 214 citations
- Validating SMT solvers via semantic fusionDominik Winterer, Chengyu Zhang, Zhendong SuPLDI 2020 · 80 citations
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 citations
- Automatically testing string solversAlexandra Bugariu, Peter MüllerICSE 2020 · 28 citations
- Skeletal approximation enumeration for SMT solver testingPeisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi et al.FSE 2021 · 20 citations
Related papers
- On the unusual effectiveness of type-aware operator mutations for testing SMT solversDominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2020 · 55 citations
- Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random MutationsJongwook Kim, Sunbeom So, Hakjoo OhICSE 2023 · 7 citations
- Generative type-aware mutation for testing SMT solversJiwon Park, Dominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2021 · 31 citations
- Fuzzing SMT solvers via two-dimensional input space explorationPeisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi et al.ISSTA 2021 · 18 citations
- Validating SMT Solvers for Correctness and Performance via Grammar-Based EnumerationDominik Winterer, Zhendong SuOOPSLA 2024 · 12 citations
