about summary refs log tree commit diff
path: root/src/afl-fuzz-one.c
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-03-23 00:14:03 +0100
committerDominik Maier <domenukk@gmail.com>2020-03-23 00:14:03 +0100
commitcbde30e9d46a0fdd5fc53d46c31c76ca2c715520 (patch)
tree8f83add9e7b8e2c293947236b2251ec3bfea4b19 /src/afl-fuzz-one.c
parentc0fd8f4e157f02157cd01ae29b212a79b0b34534 (diff)
downloadafl++-cbde30e9d46a0fdd5fc53d46c31c76ca2c715520.tar.gz
less branches, cleanup
Diffstat (limited to 'src/afl-fuzz-one.c')
-rw-r--r--src/afl-fuzz-one.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 4dea5e45..cc150cfe 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -1682,8 +1682,7 @@ havoc_stage:
     perf_score = orig_perf;
 
     snprintf(afl->stage_name_buf, STAGE_BUF_SIZE, "splice %u", splice_cycle);
-    if (unlikely(afl->stage_name != afl->stage_name_buf))
-      afl->stage_name = afl->stage_name_buf;
+    afl->stage_name = afl->stage_name_buf;
     afl->stage_short = "splice";
     afl->stage_max = SPLICE_HAVOC * perf_score / afl->havoc_div / 100;
 
@@ -3581,8 +3580,7 @@ pacemaker_fuzzing:
 
     snprintf(afl->stage_name_buf, STAGE_BUF_SIZE,
              MOpt_globals.splice_stageformat, splice_cycle);
-    if (afl->stage_name != afl->stage_name_buf)
-      afl->stage_name = afl->stage_name_buf;
+    afl->stage_name = afl->stage_name_buf;
     afl->stage_short = MOpt_globals.splice_stagenameshort;
     afl->stage_max = SPLICE_HAVOC * perf_score / afl->havoc_div / 100;