about summary refs log tree commit diff homepage
path: root/lib/Solver/MetaSMTSolver.h
blob: 9fa937196c81f9111ce4b2501f25c64d48453dc0 (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
//===-- 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.h"

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.
Solver *createMetaSMTSolver();
}

#endif /* KLEE_METASMTSOLVER_H */