blob: 9688ccff4828454af94c4db7752f6c57f48f11bf (
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
|
//===-- Z3Solver.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_Z3SOLVER_H
#define KLEE_Z3SOLVER_H
#include "klee/Solver/Solver.h"
namespace klee {
/// Z3Solver - A complete solver based on Z3
class Z3Solver : public Solver {
public:
/// Z3Solver - Construct a new Z3Solver.
Z3Solver();
/// Get the query in SMT-LIBv2 format.
/// \return A C-style string. The caller is responsible for freeing this.
virtual char *getConstraintLog(const Query &);
/// setCoreSolverTimeout - Set constraint solver timeout delay to the given
/// value; 0
/// is off.
virtual void setCoreSolverTimeout(time::Span timeout);
};
}
#endif /* KLEE_Z3SOLVER_H */
|