Lune

ICSE2020Top-tier venue

Automatically testing string solvers

Alexandra Bugariu, Peter Müller

Abstract

SMT solvers are at the basis of many applications, such as program verification, program synthesis, and test case generation. For all these applications to provide reliable results, SMT solvers must answer queries correctly. However, since they are complex, highlyoptimized software systems, ensuring their correctness is challenging. In particular, state-of-the-art testing techniques do not reliably detect when an SMT solver is unsound. In this paper, we present an automatic approach for generating test cases that reveal soundness errors in the implementations of string solvers, as well as potential completeness and performance issues. We synthesize input formulas that are satisfiable or unsatisfiable by construction and use this ground truth as test oracle. We automatically apply satisfiability-preserving transformations to generate increasingly-complex formulas, which allows us to detect many errors with simple inputs and, thus, facilitates debugging. The experimental evaluation shows that our technique effectively reveals bugs in the implementation of widely-used SMT solvers and applies also to other types of solvers, such as automatabased solvers. We focus on strings here, but our approach carries over to other theories and their combinations.

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.

18 top-tier papers have 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

  • Skeletal approximation enumeration for SMT solver testing cites On the unusual effectiveness of type-aware operator mutations for testing SMT 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
  • 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
  • Metamorphic testing of Datalog engines cites On the unusual effectiveness of type-aware operator mutations for testing SMT solvers
  • Metamorphic testing of Datalog engines cites Validating SMT solvers via semantic fusion
  • Metamorphic testing of Datalog engines 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 papers18

  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. Metamorphic testing of Datalog enginesMuhammad Numair Mansur, Maria Christakis, Valentin WüstholzFSE 2021 · 25 citations
  5. Skeletal approximation enumeration for SMT solver testingPeisen Yao, Heqing Huang, Wensheng Tang, Qingkai Shi et al.FSE 2021 · 20 citations

Related papers

  1. SMT2Test: From SMT Formulas to Effective Test CasesChengyu Zhang, Zhendong SuOOPSLA 2024 · 5 citations
  2. Validating SMT Solvers via Skeleton Enumeration Empowered by Historical Bug-Triggering InputsMaolin Sun, Yibiao Yang, Ming Wen, Yongcong Wang et al.ICSE 2023 · 9 citations
  3. Diver: Oracle-Guided SMT Solver Testing with Unrestricted Random MutationsJongwook Kim, Sunbeom So, Hakjoo OhICSE 2023 · 7 citations
  4. Constraint-Based Test Oracles for Program AnalyzersMarkus Fleischmann, David Kaindlstorfer, Anastasia Isychev, Valentin Wüstholz et al.ASE 2024 · 2 citations
  5. SMT Solver Validation Empowered by Large Pre-Trained Language ModelsMaolin Sun, Yibiao Yang, Yang Wang, Ming Wen et al.ASE 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines