From bac2da866912d69eb89207757375f0753be2cae2 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 16 Jun 2020 01:29:07 +0200 Subject: fix for *BSD: remove all HAVE_ARC4RANDOM dependencies --- src/afl-fuzz-state.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/afl-fuzz-state.c') diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index 99863103..f1474f33 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -124,9 +124,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) { afl->stats_update_freq = 1; -#ifndef HAVE_ARC4RANDOM afl->fsrv.dev_urandom_fd = -1; -#endif afl->fsrv.dev_null_fd = -1; afl->fsrv.child_pid = -1; -- cgit 1.4.1 From 61107c59cf234a8c78d68534a7bd2c39a22700b4 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 17 Jun 2020 16:46:30 +0200 Subject: fix displayed schedule --- src/afl-fuzz-state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afl-fuzz-state.c') diff --git a/src/afl-fuzz-state.c b/src/afl-fuzz-state.c index f1474f33..814c2ca2 100644 --- a/src/afl-fuzz-state.c +++ b/src/afl-fuzz-state.c @@ -32,7 +32,7 @@ s32 interesting_32[] = {INTERESTING_8, INTERESTING_16, INTERESTING_32}; char *power_names[POWER_SCHEDULES_NUM] = { - "explore", "fast", "coe", "lin", "quad", "exploit", "mmopt", "rare"}; + "explore", "exploit", "fast", "coe", "lin", "quad", "rare", "mmopt"}; /* Initialize MOpt "globals" for this afl state */ -- cgit 1.4.1