Interrogation Testing of CHC Solvers
David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria Christakis
摘要
A Constrained Horn Clause (CHC) is a specific type of logic formula that contains uninterpreted predicates. CHC formulas are often used by static program analyzers to encode program properties, which are then verified using CHC solvers. The solvers themselves are complex tools and may contain bugs, which can lead to verifying unsafe programs, flagging safe programs as unsafe, or providing analyzers with incorrect invariants and counterexamples. It is, therefore, crucial to develop techniques for systematically testing CHC solvers.
In this paper, we present the first interrogation-testing technique for CHC solvers, which we implement in a tool called HornGator. Our technique uses witnesses generated by the solver under test to form new CHC instances. It also integrates a knowledge base maintaining a history of past solver queries. All this information helps HornGator generate more diverse instances, thereby improving its bug-finding effectiveness. As a result, HornGator found 21 unique bugs in five state-of-the-art CHC solvers, all of which are confirmed by the developers, 18 are fixed, and eight are of the highest severity.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- On the unusual effectiveness of type-aware operator mutations for testing SMT solvers 引用了 Automatically testing string solvers
- 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
- Validating SMT solvers via semantic fusion 引用了 Automatically testing string solvers
- Detecting critical bugs in SMT solvers using blackbox mutational fuzzing 引用了 Automatically testing string solvers
- Testing Static Taint Analyzers with Equivalence Modulo Taint 引用了 Automatically testing string solvers
- 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 引用了 Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
引用它的顶会 Paper1
它引用的 Paper14
- 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 次引用
- 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 次引用
- Automatically testing string solversAlexandra Bugariu, Peter MüllerICSE 2020 · 28 次引用
相关 Paper
- Constraint-Based Test Oracles for Program AnalyzersMarkus Fleischmann, David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz 等ASE 2024 · 2 次引用
- Interrogation Testing of Program Analyzers for Soundness and Precision IssuesDavid Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria ChristakisASE 2024 · 2 次引用
- Optimal CHC Solving via Termination ProofsYu Gu, Takeshi Tsukada, Hiroshi UnnoPOPL 2023 · 8 次引用
- Probabilistic Inference for Predicate Constraint SatisfactionYuki Satake, Hiroshi Unno, Hinata YanagiAAAI 2020 · 17 次引用
- Synthesizing Formal Semantics from Executable InterpretersJiangyi Liu, Charlie Murphy, Anvay Grover, Keith J. C. Johnson 等OOPSLA 2024
