diff options
author | hexcoder <hexcoder-@users.noreply.github.com> | 2020-06-08 08:57:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-08 08:57:25 +0200 |
commit | b4f71c7cc7720527950cb1931912864a9aeb5e39 (patch) | |
tree | f49c5e8c5e7048251a334d093ab30d72c9cb0bca | |
parent | e8a6b1cfb5c88876e2c40a9527b94c8b33b42993 (diff) | |
parent | 73334207ce3d898f8c38b2998c832161c5660c17 (diff) | |
download | afl++-b4f71c7cc7720527950cb1931912864a9aeb5e39.tar.gz |
Merge pull request #396 from Kyle-Kyle/master
fix a fundamental bug: favor random branches
-rw-r--r-- | include/afl-as.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/afl-as.h b/include/afl-as.h index e90289d4..3c12c68f 100644 --- a/include/afl-as.h +++ b/include/afl-as.h @@ -192,7 +192,7 @@ static const u8 *main_payload_32 = #ifdef SKIP_COUNTS " orb $1, (%edx, %edi, 1)\n" #else - " incb (%edx, %edi, 1)\n" + " addb $1, (%edx, %edi, 1)\n" " adcb $0, (%edx, %edi, 1)\n" // never zero counter implementation. slightly better path discovery and little performance impact #endif /* ^SKIP_COUNTS */ "\n" @@ -447,7 +447,7 @@ static const u8 *main_payload_64 = #ifdef SKIP_COUNTS " orb $1, (%rdx, %rcx, 1)\n" #else - " incb (%rdx, %rcx, 1)\n" + " addb $1, (%rdx, %rcx, 1)\n" " adcb $0, (%rdx, %rcx, 1)\n" // never zero counter implementation. slightly better path discovery and little performance impact #endif /* ^SKIP_COUNTS */ "\n" |