diff options
author | vanhauser-thc <vh@thc.org> | 2021-04-26 20:19:00 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-04-26 20:19:08 +0200 |
commit | bd38fb672211b571667eeb6d760114dd2ab0c9ec (patch) | |
tree | 711177e5c42e58fc2dde6a84dbfde4a3426e0d15 | |
parent | 4d40afe54f8365453dc3be5d1c2db5d06d42e448 (diff) | |
download | afl++-bd38fb672211b571667eeb6d760114dd2ab0c9ec.tar.gz |
fix qdbi
-rwxr-xr-x | utils/qbdi_mode/template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qbdi_mode/template.cpp b/utils/qbdi_mode/template.cpp index b2066cc8..888ecb58 100755 --- a/utils/qbdi_mode/template.cpp +++ b/utils/qbdi_mode/template.cpp @@ -25,7 +25,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) \ |