about summary refs log tree commit diff
path: root/frida_mode/test/libxml/GNUmakefile
diff options
context:
space:
mode:
authorWorksButNotTested <62701594+WorksButNotTested@users.noreply.github.com>2021-04-30 09:28:20 +0100
committerGitHub <noreply@github.com>2021-04-30 10:28:20 +0200
commit765f3e5169dc0b69c806b2b10a29250fa162ada7 (patch)
tree588214eb3a979ab40b9c420b114096efd3aee3e9 /frida_mode/test/libxml/GNUmakefile
parentc9d066038fe0bbf8e0ab0a481ca320ca1c31b1bf (diff)
downloadafl++-765f3e5169dc0b69c806b2b10a29250fa162ada7.tar.gz
Added representative fuzzbench test and test for libxml (#893)
* Added representative fuzzbench test and test for libxml

* Added support for building FRIDA from source with FRIDA_SOURCE=1

Co-authored-by: Your Name <you@example.com>
Diffstat (limited to 'frida_mode/test/libxml/GNUmakefile')
-rw-r--r--frida_mode/test/libxml/GNUmakefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/frida_mode/test/libxml/GNUmakefile b/frida_mode/test/libxml/GNUmakefile
new file mode 100644
index 00000000..652223e0
--- /dev/null
+++ b/frida_mode/test/libxml/GNUmakefile
@@ -0,0 +1,13 @@
+PWD:=$(shell pwd)/
+ROOT:=$(shell realpath $(PWD)../../..)/
+
+.PHONY: all frida
+
+all:
+	make -C $(ROOT)frida_mode/
+
+frida:
+	LD_PRELOAD=$(ROOT)frida_mode/build/afl-frida-trace.so ./xml
+
+debug:
+	gdb --ex 'set environment LD_PRELOAD=$(ROOT)frida_mode/build/afl-frida-trace.so' --args ./xml
\ No newline at end of file