diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-08-29 12:04:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-29 12:04:28 +0200 |
commit | d3e173b6e6baf6e920e002b657808eab24669058 (patch) | |
tree | 93ebe17accbe0d64edfb62f08b8ac846d5a72b81 /qemu_mode/patches/afl-qemu-translate-inl.h | |
parent | 892513708bb5f68b15610fe0c74b892d4421c8cd (diff) | |
parent | 3f2a317af09982a47340593b224a10b79a81d303 (diff) | |
download | afl++-d3e173b6e6baf6e920e002b657808eab24669058.tar.gz |
Merge pull request #51 from domenukk/uc_compcov
Fixed SIGSEV due to wrong pointer size
Diffstat (limited to 'qemu_mode/patches/afl-qemu-translate-inl.h')
-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 48d05179..a33e17b7 100644 --- a/qemu_mode/patches/afl-qemu-translate-inl.h +++ b/qemu_mode/patches/afl-qemu-translate-inl.h @@ -51,7 +51,7 @@ void afl_maybe_log(target_ulong cur_loc) { #if (defined(__x86_64__) || defined(__i386__)) && defined(AFL_QEMU_NOT_ZERO) asm volatile ( "incb (%0, %1, 1)\n" - "adc $0, (%0, %1, 1)\n" + "adcb $0, (%0, %1, 1)\n" : /* no out */ : "r" (afl_area_ptr), "r" (afl_idx) : "memory", "eax" |