about summary refs log tree commit diff homepage
path: root/lib/Solver/MetaSMTSolver.h
blob: 64c56c5720f3922046da7f405994a5bcbae57d2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//===-- MetaSMTSolver.h
//---------------------------------------------------===//
//
//                     The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef KLEE_METASMTSOLVER_H
#define KLEE_METASMTSOLVER_H

#include "klee/Solver/Solver.h"

#include <memory>

namespace klee {

template <typename SolverContext> class MetaSMTSolver : public Solver {
public:
  MetaSMTSolver(bool useForked, bool optimizeDivides);
  virtual ~MetaSMTSolver();

  virtual char *getConstraintLog(const Query &);
  virtual void setCoreSolverTimeout(time::Span timeout);
};

/// createMetaSMTSolver - Create a solver using the metaSMT backend set by
/// the option MetaSMTBackend.
std::unique_ptr<Solver> createMetaSMTSolver();
}

#endif /* KLEE_METASMTSOLVER_H */