about summary refs log tree commit diff
path: root/frida_mode/test/libxml/GNUmakefile
diff options
context:
space:
mode:
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