Fuzzing SMT solvers via two-dimensional input space exploration
Peisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi, Rongxin Wu, Charles Zhang
摘要
Satisfiability Modulo Theories (SMT) solvers serve as the core engine of many techniques, such as symbolic execution. Therefore, ensuring the robustness and correctness of SMT solvers is critical. While fuzzing is an efficient and effective method for ensuring the quality of SMT solvers, we observe that prior fuzzing work only focused on generating various first-order formulas as the inputs but neglected the algorithmic configuration space of an SMT solver, which leads to under-reporting many deeply-hidden bugs. In this paper, we present Falcon, a fuzzing technique that explores both the formula space and the configuration space. Combining the two spaces significantly enlarges the search space and makes it challenging to detect bugs efficiently. We solve this problem by utilizing the correlations between the two spaces to reduce the search space, and introducing an adaptive mutation strategy to boost the search efficiency. During six months of extensive testing, Falcon finds 518 confirmed bugs in CVC4 and Z3, the two state-of-the-art SMT solvers, 469 of which have already been fixed. Compared to two state-of-the-art fuzzers, Falcon detects 38 and 44 more bugs and improves the coverage by a large margin in 24 hours of testing.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Skeletal approximation enumeration for SMT solver testing 引用了 Syntia: Synthesizing the Semantics of Obfuscated Code
- Skeletal approximation enumeration for SMT solver testing 引用了 NAUTILUS: Fishing for Deep Bugs with Grammars
- Skeletal approximation enumeration for SMT solver testing 引用了 Validating SMT solvers via semantic fusion
- Skeletal approximation enumeration for SMT solver testing 引用了 CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
- Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random Mutations 引用了 Skeletal approximation enumeration for SMT solver testing
- Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random Mutations 引用了 Syntia: Synthesizing the Semantics of Obfuscated Code
- Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random Mutations 引用了 Validating SMT solvers via semantic fusion
- Validating SMT Solvers via Skeleton Enumeration Empowered by Historical Bug-Triggering Inputs 引用了 Skeletal approximation enumeration for SMT solver testing
- Validating SMT Solvers via Skeleton Enumeration Empowered by Historical Bug-Triggering Inputs 引用了 Validating SMT solvers via semantic fusion
- Pinolo: Detecting Logical Bugs in Database Management Systems with Approximate Query Synthesis 引用了 Skeletal approximation enumeration for SMT solver testing
- Pinolo: Detecting Logical Bugs in Database Management Systems with Approximate Query Synthesis 引用了 Validating SMT solvers via semantic fusion
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Skeletal approximation enumeration for SMT solver testing
- Dependency-Aware Metamorphic Testing of Datalog Engines 引用了 Validating SMT solvers via semantic fusion
引用它的顶会 Paper11
- Pinolo: Detecting Logical Bugs in Database Management Systems with Approximate Query SynthesisZongyin Hao, Quanfeng Huang, Chengpeng Wang, Jianfeng Wang 等USENIX ATC 2023 · 26 次引用
- Skeletal approximation enumeration for SMT solver testingPeisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi 等FSE 2021 · 20 次引用
- Dependency-Aware Metamorphic Testing of Datalog EnginesMuhammad Numair Mansur, Valentin Wüstholz, Maria ChristakisISSTA 2023 · 10 次引用
- Validating SMT Solvers via Skeleton Enumeration Empowered by Historical Bug-Triggering InputsMaolin Sun, Yibiao Yang, Ming Wen, Yongcong Wang 等ICSE 2023 · 9 次引用
- Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random MutationsJongwook Kim, Sunbeom So, Hakjoo OhICSE 2023 · 7 次引用
它引用的 Paper10
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
- NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig 等NDSS 2019 · 291 次引用
- CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript EnginesHyungSeok Han, DongHyeon Oh, Sang Kil ChaNDSS 2019 · 178 次引用
- Syntia: Synthesizing the Semantics of Obfuscated CodeTim Blazytko, Moritz Contag, Cornelius Aschermann, Thorsten HolzUSENIX Security 2017 · 99 次引用
- Validating SMT solvers via semantic fusionDominik Winterer, Chengyu Zhang, Zhendong SuPLDI 2020 · 80 次引用
相关 Paper
- Generative type-aware mutation for testing SMT solversJiwon Park, Dominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2021 · 31 次引用
- On the unusual effectiveness of type-aware operator mutations for testing SMT solversDominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2020 · 55 次引用
- Finding and Understanding Incompleteness Bugs in SMT SolversMauro Bringolf, Dominik Winterer, Zhendong SuASE 2022 · 5 次引用
- Fuzzing Symbolic ExpressionsLuca Borzacchiello, Emilio Coppa, Camil DemetrescuICSE 2021 · 25 次引用
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 次引用
