about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-05-25 09:08:31 +0200
committervanhauser-thc <vh@thc.org>2021-05-25 09:08:31 +0200
commit109383f43830010c36b704c682ee537e6474d25a (patch)
treea2df78b7cc74e4c398745b693fcf5a4049be1a47 /src
parent909e43fd5538ef8cf1b478816974e3ab030490e9 (diff)
downloadafl++-109383f43830010c36b704c682ee537e6474d25a.tar.gz
less executions on variable paths
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 6e5210b8..5a481639 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -410,7 +410,7 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
         }
 
         var_detected = 1;
-        afl->stage_max = CAL_CYCLES_LONG;
+        afl->stage_max = afl->fast_cal ? CAL_CYCLES : CAL_CYCLES_LONG;
 
       } else {