about summary refs log tree commit diff
path: root/frida_mode/test
diff options
context:
space:
mode:
authorYour Name <you@example.com>2023-05-31 19:15:18 +0100
committerYour Name <you@example.com>2023-05-31 19:15:18 +0100
commite596c9856b636d6c227115655aa74f316d8f27ca (patch)
treea4f1a594bfb5e13da4a723f8a4196e7921ea7d2f /frida_mode/test
parentad8f7d6eb3be245202ace23d4d1dd9152647a775 (diff)
downloadafl++-e596c9856b636d6c227115655aa74f316d8f27ca.tar.gz
Support for instrumentation more than GB away from data structures
Diffstat (limited to 'frida_mode/test')
-rw-r--r--frida_mode/test/testinstr/GNUmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/frida_mode/test/testinstr/GNUmakefile b/frida_mode/test/testinstr/GNUmakefile
index ebc0b2dc..46d9b85f 100644
--- a/frida_mode/test/testinstr/GNUmakefile
+++ b/frida_mode/test/testinstr/GNUmakefile
@@ -67,3 +67,8 @@ debug:
 		--ex 'set environment LD_PRELOAD=$(ROOT)afl-frida-trace.so' \
 		--ex 'set disassembly-flavor intel' \
 		--args $(TESTINSTBIN) $(TESTINSTR_DATA_FILE)
+
+lldb:
+	lldb \
+		-O 'settings set target.env-vars DYLD_INSERT_LIBRARIES=$(ROOT)afl-frida-trace.so' \
+		-- $(TESTINSTBIN) $(TESTINSTR_DATA_FILE)