Lune

FSE2026Top-tier venue

Interrogation Testing of CHC Solvers

David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria Christakis

Abstract

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.

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.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • On the unusual effectiveness of type-aware operator mutations for testing SMT solvers cites Automatically testing string solvers
  • On the unusual effectiveness of type-aware operator mutations for testing SMT solvers cites Validating SMT solvers via semantic fusion
  • On the unusual effectiveness of type-aware operator mutations for testing SMT 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
  • Testing Static Taint Analyzers with Equivalence Modulo Taint cites Automatically testing string solvers
  • Testing Static Taint Analyzers with Equivalence Modulo Taint cites On the unusual effectiveness of type-aware operator mutations for testing SMT solvers
  • Testing Static Taint Analyzers with Equivalence Modulo Taint cites Validating SMT solvers via semantic fusion
  • Testing Static Taint Analyzers with Equivalence Modulo Taint cites Generative type-aware mutation for testing SMT solvers
  • Testing Static Taint Analyzers with Equivalence Modulo Taint cites Detecting critical bugs in SMT solvers using blackbox mutational fuzzing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Testing Static Taint Analyzers with Equivalence Modulo TaintMaria Christakis, Anastasia Isychev, Samuel Pilz, Florian Tesarek et al.ISSTA 2026

Builds on14

  1. Validating SMT solvers via semantic fusionDominik Winterer, Chengyu Zhang, Zhendong SuPLDI 2020 · 80 citations
  2. On the unusual effectiveness of type-aware operator mutations for testing SMT solversDominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2020 · 55 citations
  3. Detecting critical bugs in SMT solvers using blackbox mutational fuzzingMuhammad Numair Mansur, Maria Christakis, Valentin Wüstholz, Fuyuan ZhangFSE 2020 · 51 citations
  4. Generative type-aware mutation for testing SMT solversJiwon Park, Dominik Winterer, Chengyu Zhang, Zhendong SuOOPSLA 2021 · 31 citations
  5. Automatically testing string solversAlexandra Bugariu, Peter MüllerICSE 2020 · 28 citations

Related papers

  1. Constraint-Based Test Oracles for Program AnalyzersMarkus Fleischmann, David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz et al.ASE 2024 · 2 citations
  2. Interrogation Testing of Program Analyzers for Soundness and Precision IssuesDavid Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz, Maria ChristakisASE 2024 · 2 citations
  3. Optimal CHC Solving via Termination ProofsYu Gu, Takeshi Tsukada, Hiroshi UnnoPOPL 2023 · 8 citations
  4. Probabilistic Inference for Predicate Constraint SatisfactionYuki Satake, Hiroshi Unno, Hinata YanagiAAAI 2020 · 17 citations
  5. Synthesizing Formal Semantics from Executable InterpretersJiangyi Liu, Charlie Murphy, Anvay Grover, Keith J. C. Johnson et al.OOPSLA 2024
Dusk over the sea between two cliffs drawn in fine vertical lines