about summary refs log tree commit diff
path: root/frida_mode/test/libxml
diff options
context:
space:
mode:
Diffstat (limited to 'frida_mode/test/libxml')
-rw-r--r--frida_mode/test/libxml/GNUmakefile13
-rw-r--r--frida_mode/test/libxml/Makefile12
-rwxr-xr-xfrida_mode/test/libxml/xmlbin0 -> 1849872 bytes
3 files changed, 25 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
diff --git a/frida_mode/test/libxml/Makefile b/frida_mode/test/libxml/Makefile
new file mode 100644
index 00000000..258e9de4
--- /dev/null
+++ b/frida_mode/test/libxml/Makefile
@@ -0,0 +1,12 @@
+all:
+	@echo trying to use GNU make...
+	@gmake all || echo please install GNUmake
+
+clean:
+	@gmake clean
+
+frida:
+	@gmake frida
+
+debug:
+	@gmake debug
\ No newline at end of file
diff --git a/frida_mode/test/libxml/xml b/frida_mode/test/libxml/xml
new file mode 100755
index 00000000..fb5c7c76
--- /dev/null
+++ b/frida_mode/test/libxml/xml
Binary files differ