about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-18 07:08:11 +0200
committerGitHub <noreply@github.com>2020-06-18 07:08:11 +0200
commitd8d5adeb6181215271d5549a90797fe5abbbcf92 (patch)
treedd7ba48766e2210ccdfa3207563b59d1c8bfe619 /src
parent394d8ade15cc5044f71ad12f025223d3e0c61d13 (diff)
parent003456f770932b6d737bf323723962d643ca39e9 (diff)
downloadafl++-d8d5adeb6181215271d5549a90797fe5abbbcf92.tar.gz
Merge pull request #416 from Mem2019/patch-2
`fault == afl->crash_mode` should be likely
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-bitmap.c b/src/afl-fuzz-bitmap.c
index a6d0c994..f643b5c0 100644
--- a/src/afl-fuzz-bitmap.c
+++ b/src/afl-fuzz-bitmap.c
@@ -570,7 +570,7 @@ u8 save_if_interesting(afl_state_t *afl, void *mem, u32 len, u8 fault) {
 
   }
 
-  if (unlikely(fault == afl->crash_mode)) {
+  if (likely(fault == afl->crash_mode)) {
 
     /* Keep only if there are new bits in the map, add to queue for
        future fuzzing, etc. */