about summary refs log tree commit diff
path: root/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-03 15:49:23 +0200
committervan Hauser <vh@thc.org>2020-06-03 15:49:23 +0200
commitdd0ca7335ff93090def7be7fd0b46e9f71375004 (patch)
tree3c447d24b4fed3d8277a19ffe8b53000656a7a95 /qemu_mode/patches/afl-qemu-cpu-translate-inl.h
parent686d8823eb8eab3a7cb87f4affec56e0d6e402d1 (diff)
downloadafl++-dd0ca7335ff93090def7be7fd0b46e9f71375004.tar.gz
switch shmem_len to the map
Diffstat (limited to 'qemu_mode/patches/afl-qemu-cpu-translate-inl.h')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-translate-inl.h2
1 files changed, 1 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 15d5c91c..8553f194 100644
--- a/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-translate-inl.h
@@ -162,7 +162,7 @@ static void log_x86_sp_content(void) {
 static void callback_to_persistent_hook(void) {
 
   afl_persistent_hook_ptr(persistent_saved_gpr, guest_base, shared_buf,
-                          shared_buf_len);
+                          *shared_buf_len);
 
 }