blob: e4f7857b2a3f9c5d971f0e02460def0f67ceb6c4 (
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
|
PWD:=$(shell pwd)/
ROOT:=$(PWD)../../../
BUILD_DIR:=$(PWD)build/
TESTINSTR_DATA_DIR:=$(BUILD_DIR)in/
FRIDA_OUT:=$(BUILD_DIR)frida-out
QEMU_OUT:=$(BUILD_DIR)qemu-out
.PHONY: all clean run qemu frida
all:
make -C $(ROOT)frida_mode/
clean:
rm -rf $(BUILD_DIR)
$(BUILD_DIR):
mkdir -p $@
$(TESTINSTR_DATA_DIR): | $(BUILD_DIR)
mkdir -p $@
run:
date
/usr/bin/python -c 'print("hi");'
date
qemu:
date
$(ROOT)afl-qemu-trace \
/usr/bin/python -c 'print("hi");'
date
frida:
date
LD_PRELOAD=$(ROOT)afl-frida-trace.so \
python -c 'print("hi");'
date
|