aboutsummaryrefslogtreecommitdiff
path: root/frida_mode/test/testinstr
diff options
context:
space:
mode:
authorWorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com>2021-07-06 18:30:50 +0100
committerGitHub <noreply@github.com>2021-07-06 19:30:50 +0200
commit4a02118fdae1ed0bd2cb74a775e7bc0d82d91a81 (patch)
treedc95c8417d58348f6e9ec1a1bbaa3d0a3bbbd358 /frida_mode/test/testinstr
parent2a433f90c456b19cf9aa39384540f618c6eeb1a8 (diff)
downloadafl++-4a02118fdae1ed0bd2cb74a775e7bc0d82d91a81.tar.gz
Deferred exclusion support (#1008)
* Deferred exclusion support * Changes to support different hook libraries for QEMU and FRIDA * Changes to collect more stats Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/test/testinstr')
-rw-r--r--frida_mode/test/testinstr/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/frida_mode/test/testinstr/GNUmakefile b/frida_mode/test/testinstr/GNUmakefile
index a35073ab..3701ddc8 100644
--- a/frida_mode/test/testinstr/GNUmakefile
+++ b/frida_mode/test/testinstr/GNUmakefile
@@ -53,6 +53,13 @@ frida: $(TESTINSTBIN) $(TESTINSTR_DATA_FILE)
$(TESTINSTBIN) @@
debug:
+ echo $(AFL_FRIDA_PERSISTENT_ADDR)
+ gdb \
+ --ex 'set environment LD_PRELOAD=$(ROOT)afl-frida-trace.so' \
+ --ex 'set disassembly-flavor intel' \
+ --args $(TESTINSTBIN) $(TESTINSTR_DATA_FILE)
+
+debug:
gdb \
--ex 'set environment LD_PRELOAD=$(ROOT)afl-frida-trace.so' \
--ex 'set disassembly-flavor intel' \