blob: 86ce3cfcab44bcca088b2cd64c1f41670fd98e96 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#===------------------------------------------------------------------------===#
#
# The KLEE Symbolic Virtual Machine
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#
klee_add_component(kleeCore
AddressSpace.cpp
CallPathManager.cpp
Context.cpp
CoreStats.cpp
ExecutionState.cpp
Executor.cpp
ExecutorTimers.cpp
ExecutorUtil.cpp
ExternalDispatcher.cpp
ImpliedValue.cpp
Memory.cpp
MemoryManager.cpp
PTree.cpp
Searcher.cpp
SeedInfo.cpp
SpecialFunctionHandler.cpp
StatsTracker.cpp
TimingSolver.cpp
UserSearcher.cpp
)
# TODO: Work out what the correct LLVM components are for
# kleeCore.
set(LLVM_COMPONENTS
core
support
)
if ("${LLVM_PACKAGE_VERSION}" VERSION_EQUAL "3.6" OR
"${LLVM_PACKAGE_VERSION}" VERSION_GREATER "3.6")
list(APPEND LLVM_COMPONENTS mcjit executionengine native)
else()
list(APPEND LLVM_COMPONENTS jit engine)
endif()
klee_get_llvm_libs(LLVM_LIBS ${LLVM_COMPONENTS})
target_link_libraries(kleeCore PUBLIC ${LLVM_LIBS})
target_link_libraries(kleeCore PRIVATE
kleeBasic
kleeModule
kleaverSolver
kleaverExpr
kleeSupport
)
|