diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-08-27 21:10:51 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-08-27 21:10:51 +0200 |
commit | c5e0b29a22a126a90942fd31a85fcfe8486fa67c (patch) | |
tree | a5422ba34ef88274169e933731404e0fa8e0b4cd /qemu_mode | |
parent | bec9b307db299b586c2574031d3cc1a491dc00c3 (diff) | |
download | afl++-c5e0b29a22a126a90942fd31a85fcfe8486fa67c.tar.gz |
neverzero for unicorn_mode
Diffstat (limited to 'qemu_mode')
-rw-r--r-- | qemu_mode/patches/afl-qemu-translate-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-translate-inl.h b/qemu_mode/patches/afl-qemu-translate-inl.h index 9c3580e5..f82d1217 100644 --- a/qemu_mode/patches/afl-qemu-translate-inl.h +++ b/qemu_mode/patches/afl-qemu-translate-inl.h @@ -46,7 +46,7 @@ void afl_maybe_log(target_ulong cur_loc) { static __thread abi_ulong prev_loc; - register target_ulong afl_idx = cur_loc ^ prev_loc; + register uintptr_t afl_idx = cur_loc ^ prev_loc; #if (defined(__x86_64__) || defined(__i386__)) && defined(AFL_QEMU_NOT_ZERO) asm volatile ( |