about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-06-03 09:57:44 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-06-03 09:57:44 +0200
commit9962de1a4c26d226b15d7bee64b483098fe62b3f (patch)
tree758ee7ec2730d0a7ee0f4e254404286b28f6a41a /qemu_mode/patches/afl-qemu-cpu-translate-inl.h
parent304a72c1ff84be6c4d217d2bc3f94884425e853e (diff)
downloadafl++-9962de1a4c26d226b15d7bee64b483098fe62b3f.tar.gz
shared mem input for qemu persistent hook
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-translate-inl.h')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-translate-inl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-translate-inl.h b/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
index 083c27e5..15d5c91c 100644
--- a/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
@@ -161,7 +161,8 @@ static void log_x86_sp_content(void) {
 
 static void callback_to_persistent_hook(void) {
 
-  afl_persistent_hook_ptr(persistent_saved_gpr, guest_base);
+  afl_persistent_hook_ptr(persistent_saved_gpr, guest_base, shared_buf,
+                          shared_buf_len);
 
 }