neverzero for unicorn_mode

This commit is contained in:
Andrea Fioraldi
2019-08-27 21:10:51 +02:00
parent bec9b307db
commit c5e0b29a22
3 changed files with 17 additions and 3 deletions

View File

@ -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 (