fix x86 notzero

This commit is contained in:
Andrea Fioraldi
2020-06-08 11:52:49 +02:00
parent b4f71c7cc7
commit 646237e234

View File

@ -54,7 +54,7 @@
#if (defined(__x86_64__) || defined(__i386__)) && defined(AFL_QEMU_NOT_ZERO)
#define INC_AFL_AREA(loc) \
asm volatile( \
"incb (%0, %1, 1)\n" \
"addb $1, (%0, %1, 1)\n" \
"adcb $0, (%0, %1, 1)\n" \
: /* no out */ \
: "r"(afl_area_ptr), "r"(loc) \