My SAT solver fuzzing setup

Since the SAT solver fuzzing paper by Brummayer, Lonsing and Biere, SAT solver fuzzing has been quite the thing in the SAT community. Many bugs have since been discovered in almost all SAT solvers, including those of this author. In this blog post I will detail my SAT fuzzing setup: what fuzzers I use and how I use them. My fuzzers The most obvious fuzzers to use are those present in the paper and accompanying website: CNFFuzz and FuzzSAT. These fuzzers randomly genereate high-quality structured problem instances. The emphasis here is on the word structured. Randomly generated instances, as the authors of the original paper note, do not excercise SAT solvers enough. SAT solvers are written with very specific problem types in mind: problems containing long chains of binary clauses, gates, etc. ...

August 25, 2013 · 6 min · msoos

How to use CryptoMiniSat 2.9 as a library

There have been some questions asked about how to use CryptoMiniSat as a library. Here, I give a simple example usage to help any future potential users. If there are any question that seems unanswered, please feel free to add them as a comment to this post. First, we initialize the solver with high verbosity: #include "cmsat/Solver.h" using namespace CMSat; SolverConf conf; conf.verbosity = 2; Solver solver(conf); Then we add the variables 0..9: for(int i = 0; i < 10; i++) { solver.newVar(); } And add a clause that would look in the DIMACS input format as “2 -5 10 0”: ...

June 20, 2012 · 2 min · msoos