about summary refs log tree commit diff homepage
path: root/include/klee/Solver/Common.h
blob: 626ea55a415a185b2ee7f7e0e247f7c85dfa1cda (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
//===-- Common.h ------------------------------------------------*- C++ -*-===//
//
//                     The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

/*
 * This file groups declarations that are common to both KLEE and Kleaver.
 */

#ifndef KLEE_COMMON_H
#define KLEE_COMMON_H

#include "klee/Solver/Solver.h"

#include <string>

namespace klee {
    const char ALL_QUERIES_SMT2_FILE_NAME[]="all-queries.smt2";
    const char SOLVER_QUERIES_SMT2_FILE_NAME[]="solver-queries.smt2";
    const char ALL_QUERIES_KQUERY_FILE_NAME[]="all-queries.kquery";
    const char SOLVER_QUERIES_KQUERY_FILE_NAME[]="solver-queries.kquery";

std::unique_ptr<Solver> constructSolverChain(
    std::unique_ptr<Solver> coreSolver, std::string querySMT2LogPath,
    std::string baseSolverQuerySMT2LogPath, std::string queryKQueryLogPath,
    std::string baseSolverQueryKQueryLogPath);
} // namespace klee

#endif /* KLEE_COMMON_H */