From 5fcd4bb08208474eef812bf352c263852a1df6e9 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Sun, 7 Jun 2020 00:41:46 +0200 Subject: updated unicorn --- unicorn_mode/UNICORNAFL_VERSION | 2 +- unicorn_mode/unicornafl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION index bb3959ea..5d10f094 100644 --- a/unicorn_mode/UNICORNAFL_VERSION +++ b/unicorn_mode/UNICORNAFL_VERSION @@ -1 +1 @@ -5833117 +9e9b72a diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl index 5833117a..9e9b72a9 160000 --- a/unicorn_mode/unicornafl +++ b/unicorn_mode/unicornafl @@ -1 +1 @@ -Subproject commit 5833117abf55d54c4191ead81312764df03a48bc +Subproject commit 9e9b72a91f84588defa1984e562cee19b4b49329 -- cgit 1.4.1 From 748238d6ab4aeb7f34958d4c37c5ef200ad22463 Mon Sep 17 00:00:00 2001 From: Dominik Maier Date: Sun, 7 Jun 2020 16:19:51 +0200 Subject: Revert "updated unicorn" This reverts commit 5fcd4bb08208474eef812bf352c263852a1df6e9. --- unicorn_mode/UNICORNAFL_VERSION | 2 +- unicorn_mode/unicornafl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unicorn_mode/UNICORNAFL_VERSION b/unicorn_mode/UNICORNAFL_VERSION index 5d10f094..bb3959ea 100644 --- a/unicorn_mode/UNICORNAFL_VERSION +++ b/unicorn_mode/UNICORNAFL_VERSION @@ -1 +1 @@ -9e9b72a +5833117 diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl index 9e9b72a9..5833117a 160000 --- a/unicorn_mode/unicornafl +++ b/unicorn_mode/unicornafl @@ -1 +1 @@ -Subproject commit 9e9b72a91f84588defa1984e562cee19b4b49329 +Subproject commit 5833117abf55d54c4191ead81312764df03a48bc -- cgit 1.4.1 From 73334207ce3d898f8c38b2998c832161c5660c17 Mon Sep 17 00:00:00 2001 From: Kyle ZENG Date: Sun, 7 Jun 2020 15:14:25 -0700 Subject: fix a fundamental bug: favor random branch randomly --- include/afl-as.h | 4 ++-- 1 file 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" -- cgit 1.4.1