Constraint-Based Test Oracles for Program Analyzers
Markus Fleischmann, David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria Christakis
摘要
Program analyzers implement complex algorithms and, as any software, can contain bugs. Bugs in their implementation may lead to analyzers being imprecise and failing to verify safe programs, i.e., programs with no reachable error locations; or worse, analyzer bugs may lead to reporting unsound results by verifying unsafe programs, i.e., programs with reachable error locations. In this paper, we propose a method to detect such bugs by generating constraint-based test oracles for analyzers. We re-purpose and extend Fuzzle, a tool for benchmarking fuzzers, in a tool called Minotaur. Minotaur generates C programs from SMT constraints, and based on the satisfiability of the constraints, derives whether the generated programs are safe or unsafe. For instance, for an unsafe program, an analyzer under test contains a soundness issue if it proves it safe. Using Minotaur, we found 30 unique soundness and precision issues in 11 well-known analyzers that reason about reachability properties.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On the unusual effectiveness of type-aware operator mutations for testing SMT solvers 引用了 Validating SMT solvers via semantic fusion
- On the unusual effectiveness of type-aware operator mutations for testing SMT solvers 引用了 Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
- Fuzzing Processing Pipelines for Zero-Knowledge Circuits 引用了 GrayC: Greybox Fuzzing of Compilers and Analysers for C
- Fuzzing Processing Pipelines for Zero-Knowledge Circuits 引用了 On the unusual effectiveness of type-aware operator mutations for testing SMT solvers
- Fuzzing Processing Pipelines for Zero-Knowledge Circuits 引用了 Validating SMT solvers via semantic fusion
- Fuzzing Processing Pipelines for Zero-Knowledge Circuits 引用了 Generative type-aware mutation for testing SMT solvers
- Fuzzing Processing Pipelines for Zero-Knowledge Circuits 引用了 Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
- Cost-Effective Testing of MPC Compilers 引用了 GrayC: Greybox Fuzzing of Compilers and Analysers for C
- Cost-Effective Testing of MPC Compilers 引用了 On the unusual effectiveness of type-aware operator mutations for testing SMT solvers
- Cost-Effective Testing of MPC Compilers 引用了 Validating SMT solvers via semantic fusion
- Cost-Effective Testing of MPC Compilers 引用了 Generative type-aware mutation for testing SMT solvers
- Cost-Effective Testing of MPC Compilers 引用了 Fuzzing Processing Pipelines for Zero-Knowledge Circuits
- Cost-Effective Testing of MPC Compilers 引用了 Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 GrayC: Greybox Fuzzing of Compilers and Analysers for C
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 On the unusual effectiveness of type-aware operator mutations for testing SMT solvers
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 Validating SMT solvers via semantic fusion
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 Generative type-aware mutation for testing SMT solvers
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 Fuzzing Processing Pipelines for Zero-Knowledge Circuits
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
引用它的顶会 Paper3
- Fuzzing Processing Pipelines for Zero-Knowledge CircuitsChristoph Hochrainer, Anastasia Isychev, Valentin Wüstholz, Maria ChristakisCCS 2025 · 1 次引用
- Cost-Effective Testing of MPC CompilersSebastian Watzinger, Valentin Wüstholz, Deepak Garg, Maria ChristakisFSE 2026
- Testing Static Taint Analyzers with Equivalence Modulo TaintMaria Christakis, Anastasia Isychev, Samuel Pilz, Florian Tesarek 等ISSTA 2026
它引用的 Paper13
- Validating SMT solvers via semantic fusionDominik Winterer, Chengyu Zhang, Zhendong SuPLDI 2020 · 80 次引用
- On the unusual effectiveness of type-aware operator mutations for testing SMT solversDominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2020 · 55 次引用
- GrayC: Greybox Fuzzing of Compilers and Analysers for CKarine Even-Mendoza, Arindam Sharma, Alastair F. Donaldson, Cristian CadarISSTA 2023 · 52 次引用
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 次引用
- Generative type-aware mutation for testing SMT solversJiwon Park, Dominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2021 · 31 次引用
相关 Paper
- Fuzzle: Making a Puzzle for FuzzersHaeun Lee, Soomin Kim, Sang Kil ChaASE 2022 · 13 次引用
- Interrogation Testing of Program Analyzers for Soundness and Precision IssuesDavid Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria ChristakisASE 2024 · 2 次引用
- Automatically testing string solversAlexandra Bugariu, Peter MüllerICSE 2020 · 28 次引用
- Finding and Understanding Defects in Static Analyzers by Constructing Automated OraclesWeigang He, Peng Di, Mengli Ming, Chengyu Zhang 等FSE 2024 · 6 次引用
- SMT2Test: From SMT Formulas to Effective Test CasesChengyu Zhang, Zhendong SuOOPSLA 2024 · 5 次引用
