forked from aaSSfxxx/r2-regressions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
155 lines (131 loc) · 3.01 KB
/
Makefile
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# XXX
PULLADDR=https://github.com/radare/radare2-regressions.git
do:
-git pull ${PULLADDR}
@sh run_tests.sh
all:
@sh run_tests.sh
@sh run_tests.sh t.asm
@sh run_tests.sh t.anal
@$(MAKE) -C t.archos
@sh run_tests.sh t.io
@sh run_tests.sh t.esil
@sh run_tests.sh t.formats/pe
@sh run_tests.sh t.formats/elf
@sh run_tests.sh t.formats/dex
@sh run_tests.sh t.formats/java
@sh run_tests.sh t.formats/mach0
@sh run_tests.sh t.formats/xbe
@sh run_tests.sh t.formats/firmware
@sh run_tests.sh t.pe
@sh run_tests.sh t.tools
asm:
@sh run_tests.sh t.asm/8051
@sh run_tests.sh t.asm/arc
@sh run_tests.sh t.asm/arm
@sh run_tests.sh t.asm/avr
@sh run_tests.sh t.asm/cr16
@sh run_tests.sh t.asm/dalvik
@sh run_tests.sh t.asm/ebc
@sh run_tests.sh t.asm/gb
@sh run_tests.sh t.asm/h8300
@sh run_tests.sh t.asm/java
@sh run_tests.sh t.asm/mips
@sh run_tests.sh t.asm/tms320
@sh run_tests.sh t.asm/x86
@sh run_tests.sh t.asm/z80
tools:
@sh run_tests.sh t.tools
io:
@sh run_tests.sh t.io
asm.8051:
@sh run_tests.sh t.asm/8051
asm.arc:
@sh run_tests.sh t.asm/arc
asm.arm:
@sh run_tests.sh t.asm/arm
asm.avr:
@sh run_tests.sh t.asm/avr
asm.cr16:
@sh run_tests.sh t.asm/cr16
asm.dalvik:
@sh run_tests.sh t.asm/dalvik
asm.ebc:
@sh run_tests.sh t.asm/ebc
asm.gb:
@sh run_tests.sh t.asm/gb
asm.h8300:
@sh run_tests.sh t.asm/h8300
asm.java:
@sh run_tests.sh t.asm/java
asm.mips:
@sh run_tests.sh t.asm/mips
asm.tms320:
@sh run_tests.sh t.asm/tms320
asm.x86:
@sh run_tests.sh t.asm/x86
asm.z80:
@sh run_tests.sh t.asm/z80
anal:
@sh run_tests.sh t.anal/arm
@sh run_tests.sh t.anal/java
@sh run_tests.sh t.anal/mips
@sh run_tests.sh t.anal/x86
@sh run_tests.sh t.anal/others_anal
anal.arm:
@sh run_tests.sh t.anal/arm
anal.java:
@sh run_tests.sh t.anal/java
anal.mips:
@sh run_tests.sh t.anal/mips
anal.x86:
@sh run_tests.sh t.anal/x86
anal.others:
@sh run_tests.sh t.anal/others_anal
esil:
@sh run_tests.sh t.esil
formats:
@sh run_tests.sh t.formats/pe
@sh run_tests.sh t.formats/elf
@sh run_tests.sh t.formats/java
@sh run_tests.sh t.formats/mach0
@sh run_tests.sh t.formats/xbe
@sh run_tests.sh t.formats/firmware
format.pe:
@sh run_tests.sh t.formats/pe
format.elf:
@sh run_tests.sh t.formats/elf
format.java:
@sh run_tests.sh t.formats/java
format.dex:
@sh run_tests.sh t.formats/dex
format.mach0:
@sh run_tests.sh t.formats/mach0
format.xbe:
@sh run_tests.sh t.formats/xbe
format.firmware:
@sh run_tests.sh t.formats/firmware
udis86:
@sh run_tests.sh t.asm/udis86
capstone:
@sh run_tests.sh t.asm/capstone
@sh run_tests.sh t.anal/capstone
utils:
@sh run_tests.sh t/rasm2
@sh run_tests.sh t/rabin2
broken:
@cd t ; grep BROKEN=1 * | cut -d : -f1 |sort -u
clean:
rm -rf tmp
install:
ln -fs `pwd`/r2-v /usr/bin/r2-v
tested:
@grep -re FILE= t* | cut -d : -f 2- | sed -e 's/^.*bins\///g' |sort -u | grep -v FILE
untested:
@${MAKE} -s tested > .a
@${MAKE} -s allbins > .b
@diff -ru .a .b | grep ^+ | grep -v +++ | cut -c 2-
@rm -f .a .b
allbins:
@cd bins ; find * -type f |sort -u
.PHONY: all clean