about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-02 20:30:26 +0200
committervan Hauser <vh@thc.org>2020-09-02 20:30:26 +0200
commitc39a552cc0e2beea85b519e682771e0325354bda (patch)
treef956848dff5a9b5d9dfb93fad3c39eae01648200
parent4261e17b3e9d90fea9495fc046d55976cc9e7647 (diff)
downloadafl++-c39a552cc0e2beea85b519e682771e0325354bda.tar.gz
ignore unstable
-rw-r--r--src/afl-fuzz-run.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index d71ec339..ee22b0f6 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -394,6 +394,8 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
               unlikely(afl->first_trace[i] != afl->fsrv.trace_bits[i])) {
 
             afl->var_bytes[i] = 1;
+            // ignore the variable edge by setting it to fully discovered
+            afl->virgin_bits[i] = 0;
 
           }