Cache-a-lot: Pushing the Limits of Unsatisfiable Core Reuse in SMT-Based Program Analysis
By: Rustam Sadykov, Azat Abdullin, Marat Akhin
Potential Business Impact:
Finds more bugs faster in computer programs.
Satisfiability Modulo Theories (SMT) solvers are integral to program analysis techniques like concolic and symbolic execution, where they help assess the satisfiability of logical formulae to explore execution paths of the program under test. However, frequent solver invocations are still the main performance bottleneck of these techniques. One way to mitigate this challenge is through optimizations such as caching and reusing solver results. While current methods typically focus on reusing results from fully equivalent or closely related formulas, they often miss broader opportunities for reuse. In this paper, we propose a novel approach, Cache-a-lot, that extends the reuse of unsatisfiable (unsat) results by systematically considering all possible variable substitutions. This enables more extensive reuse of results, thereby reducing the number of SMT solver invocations and improving the overall efficiency of concolic and symbolic execution. Our evaluation, conducted against the state-of-the-art Utopia solution using two benchmark sets, shows significant improvements, particularly with more complex formulas. Our method achieves up to 74% unsat core reuse, compared to Utopia's 41%, and significant increase in the time savings. These results demonstrate that, despite the additional computational complexity, the broader reuse of unsat results significantly enhances performance, offering valuable advancements for formal verification and program analysis.
Similar Papers
Evaluating SAT and SMT Solvers on Large-Scale Sudoku Puzzles
Artificial Intelligence
Solvers solve hard puzzles much faster.
Approximate SMT Counting Beyond Discrete Domains
Logic in Computer Science
Counts possible solutions for complex computer problems.
Synthesiz3 This: an SMT-Based Approach for Synthesis with Uncomputable Symbols
Logic in Computer Science
Makes computers write code from math problems.