forked from SoftSec-KAIST/TikNib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_gnu_roc.sh
executable file
·105 lines (90 loc) · 2.63 KB
/
run_gnu_roc.sh
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/bin/bash
set -x
source config/path_variables.py
declare -a input_list=(
"config/gnu/config_gnu_normal_all.yml"
"config/gnu/config_gnu_normal_opti_O0-O3.yml"
"config/gnu/config_gnu_normal_opti_O2-O3.yml"
"config/gnu/config_gnu_normal_opti_O0toO3.yml"
"config/gnu/config_gnu_normal_comp_gcc.yml"
"config/gnu/config_gnu_normal_comp_clang.yml"
"config/gnu/config_gnu_normal_comp_gcc-clang.yml"
"config/gnu/config_gnu_normal_comp_all.yml"
"config/gnu/config_gnu_normal_arch_x86_arm.yml"
"config/gnu/config_gnu_normal_arch_x86_mips.yml"
"config/gnu/config_gnu_normal_arch_arm_mips.yml"
"config/gnu/config_gnu_normal_arch_bits.yml"
"config/gnu/config_gnu_normal_arch_endian.yml"
"config/gnu/config_gnu_normal_arch_all.yml"
"config/gnu/config_gnu_normal_hard.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/gnu_debug.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done
exit 0
declare -a input_list=(
"config/gnu/config_gnu_normal_opti_O0-Os.yml"
"config/gnu/config_gnu_normal_opti_O1-Os.yml"
"config/gnu/config_gnu_normal_opti_O3-Os.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/test_size.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done
declare -a input_list=(
"config/gnu/config_gnu_normal_others_lto.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/test_lto.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done
declare -a input_list=(
"config/gnu/config_gnu_normal_others_noinline_from_O1.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/test_noinline.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done
declare -a input_list=(
"config/gnu/config_gnu_normal_others_pie.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/test_pie.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done
declare -a input_list=(
"config/gnu/config_gnu_normal_obfus_bcf.yml"
"config/gnu/config_gnu_normal_obfus_fla.yml"
"config/gnu/config_gnu_normal_obfus_sub.yml"
"config/gnu/config_gnu_normal_obfus_all.yml"
"config/gnu/config_gnu_normal_obfus_hard.yml"
)
for f in "${input_list[@]}"
do
echo "Processing ${f} ..."
python helper/test_roc.py \
--input_list "${BINKIT_DATASET}/test_obfus.txt" \
--train_funcs_limit 200000 \
--config "${f}"
done