-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.lua
executable file
·63 lines (52 loc) · 1.18 KB
/
conf.lua
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
55
56
57
58
59
60
61
s2e = {
-- kleeArgs = {
-- "--use-batching-search=true", "--batch-time=1.0",
-- "--use-forked-stp", "--max-stp-time=10"
-- }
kleeArgs = {
-- "--help",
-- "--use-dfs-search",
"--use-query-log",
"--use-query-pc-log",
"--use-stp-query-pc-log",
"--use-batching-search=true",
"--batch-time=1.0",
"--use-random-path",
"--use-cex-cache=true",
"--use-cache=true",
"--use-fast-cex-solver=true",
"--max-stp-time=10",
"--use-expr-simplifier=true",
"--print-expr-simplifier=false",
"--flush-tbs-on-state-switch=false"
}
}
plugins = {
-- Enable S2E custom opcodes
"BaseInstructions",
-- Basic tracing, required for test case generation
"ExecutionTracer",
-- Enable the test case generator plugin
"TestCaseGenerator",
-- s2eget
"HostFiles",
-- Track when the guest loads programs
"RawMonitor",
-- Detect when execution enters
-- the program of interest
"ModuleExecutionDetector",
-- Restrict symbolic execution to
-- the programs of interest
-- "CodeSelector"
-- "Example"
"RetChecker"
-- "FunctionMonitor"
}
pluginsConfig = {
HostFiles = {
baseDirs = {"./demos"}
},
--RetChecker = {
-- entryPoint = 0x080482fa
--}
}