about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-05 13:26:46 +0200
committerGitHub <noreply@github.com>2020-09-05 13:26:46 +0200
commit39c020ec747a21fd4728f363fef63a75973aa646 (patch)
treeba939a5273a65d6717f887356902d0ec4a704c01
parent81b1d85f6168cb0828b4afef5d7994dba3c6753e (diff)
parentc39a552cc0e2beea85b519e682771e0325354bda (diff)
downloadafl++-39c020ec747a21fd4728f363fef63a75973aa646.tar.gz
Merge pull request #549 from AFLplusplus/ignore_unstable_edges
ignore unstable edges
-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;
 
           }