diff options
| author | van Hauser <vh@thc.org> | 2021-08-27 17:06:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-27 17:06:46 +0200 |
| commit | 353d402aaf9296c7dbd47e66fbbc6e59179c4e44 (patch) | |
| tree | 0ba644854a6d51cdc9e8a2d52ca88b549109f736 /frida_mode/test | |
| parent | 2e15661f184c77ac1fbb6f868c894e946cbb7f17 (diff) | |
| parent | 7a2f81e0d992cf0f20d8d2fed26310c03c8b4fa9 (diff) | |
| download | afl++-353d402aaf9296c7dbd47e66fbbc6e59179c4e44.tar.gz | |
Merge pull request #1077 from AFLplusplus/dev
push to stable
Diffstat (limited to 'frida_mode/test')
| -rw-r--r-- | frida_mode/test/unstable/GNUmakefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/frida_mode/test/unstable/GNUmakefile b/frida_mode/test/unstable/GNUmakefile index c5fe1b88..0ccc5fb1 100644 --- a/frida_mode/test/unstable/GNUmakefile +++ b/frida_mode/test/unstable/GNUmakefile @@ -85,6 +85,21 @@ frida: $(UNSTABLE_BIN) $(UNSTABLE_DATA_FILE) -- \ $(UNSTABLE_BIN) @@ +frida_coverage: $(UNSTABLE_BIN) $(UNSTABLE_DATA_FILE) + AFL_DEBUG=1 \ + AFL_FRIDA_PERSISTENT_ADDR=$(AFL_FRIDA_PERSISTENT_ADDR) \ + AFL_FRIDA_OUTPUT_STDOUT=/tmp/stdout.txt \ + AFL_FRIDA_OUTPUT_STDERR=/tmp/stderr.txt \ + AFL_FRIDA_INST_COVERAGE_FILE=/tmp/coverage.dat \ + AFL_FRIDA_INST_UNSTABLE_COVERAGE_FILE=/tmp/unstable.dat \ + $(ROOT)afl-fuzz \ + -D \ + -O \ + -i $(UNSTABLE_DATA_DIR) \ + -o $(FRIDA_OUT) \ + -- \ + $(UNSTABLE_BIN) @@ + debug: gdb \ --ex 'set environment LD_PRELOAD=$(ROOT)afl-frida-trace.so' \ |
