about summary refs log tree commit diff
path: root/examples/qemu_persistent_hook/read_into_rdi.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-05 09:42:17 +0200
committervan Hauser <vh@thc.org>2020-06-05 09:42:17 +0200
commite01cad2f7de77c4704243d7011de2bff95fd59f7 (patch)
treeabcb7cc5dae9b35b3199d871136e343c528521b9 /examples/qemu_persistent_hook/read_into_rdi.c
parenta1beb72cad5a9993e4bd437c55523824d515a72f (diff)
downloadafl++-e01cad2f7de77c4704243d7011de2bff95fd59f7.tar.gz
qemu debug
Diffstat (limited to 'examples/qemu_persistent_hook/read_into_rdi.c')
-rw-r--r--examples/qemu_persistent_hook/read_into_rdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qemu_persistent_hook/read_into_rdi.c b/examples/qemu_persistent_hook/read_into_rdi.c
index 180d9f00..bd6d3f45 100644
--- a/examples/qemu_persistent_hook/read_into_rdi.c
+++ b/examples/qemu_persistent_hook/read_into_rdi.c
@@ -1,6 +1,7 @@
 #include <stdint.h>
 #include <stdio.h>
 #include <unistd.h>
+#include <string.h>
 
 #define g2h(x) ((void *)((unsigned long)(x) + guest_base))
 #define h2g(x) ((uint64_t)(x)-guest_base)