diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-06-03 09:57:44 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-06-03 09:57:44 +0200 |
commit | 9962de1a4c26d226b15d7bee64b483098fe62b3f (patch) | |
tree | 758ee7ec2730d0a7ee0f4e254404286b28f6a41a /qemu_mode/patches/afl-qemu-cpu-translate-inl.h | |
parent | 304a72c1ff84be6c4d217d2bc3f94884425e853e (diff) | |
download | afl++-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.h | 3 |
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); } |