make cmplog deterministic

This commit is contained in:
van Hauser
2020-08-13 12:39:18 +02:00
parent 7a6867e2f8
commit 2c5e103278
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
- eliminated CPU affinity race condition for -S/-M runs - eliminated CPU affinity race condition for -S/-M runs
- expanded havoc mode added, on no cycle finds add extra splicing and - expanded havoc mode added, on no cycle finds add extra splicing and
MOpt into the mix MOpt into the mix
- fixed a bug in redqueen for strings - fixed a bug in redqueen for strings and made deterministic with -s
- llvm_mode: - llvm_mode:
- now supports llvm 12! - now supports llvm 12!
- support for AFL_LLVM_ALLOWLIST/AFL_LLVM_DENYLIST (previous - support for AFL_LLVM_ALLOWLIST/AFL_LLVM_DENYLIST (previous

View File

@ -151,7 +151,7 @@ static u8 colorization(afl_state_t *afl, u8 *buf, u32 len, u64 exec_cksum) {
/* Discard if the mutations change the paths or if it is too decremental /* Discard if the mutations change the paths or if it is too decremental
in speed */ in speed */
if (cksum != exec_cksum || if (cksum != exec_cksum ||
(stop_us - start_us > 2 * afl->queue_cur->exec_us)) { (stop_us - start_us > 2 * afl->queue_cur->exec_us) && likely(!afl->fixed_seed)) {
ranges = add_range(ranges, rng->start, rng->start + s / 2); ranges = add_range(ranges, rng->start, rng->start + s / 2);
ranges = add_range(ranges, rng->start + s / 2 + 1, rng->end); ranges = add_range(ranges, rng->start + s / 2 + 1, rng->end);