final touches for first testing

This commit is contained in:
van Hauser
2020-08-09 23:47:51 +02:00
parent 558a82891a
commit 9ec223c844
2 changed files with 35 additions and 27 deletions

View File

@ -349,7 +349,9 @@ u8 calibrate_case(afl_state_t *afl, struct queue_entry *q, u8 *use_mem,
}
if (q->exec_cksum) {
if (unlikely(afl->fsrv.taint_mode))
q->exec_cksum = 0;
else if (q->exec_cksum) {
memcpy(afl->first_trace, afl->fsrv.trace_bits, afl->fsrv.map_size);
hnb = has_new_bits(afl, afl->virgin_bits);