code format

This commit is contained in:
van Hauser 2020-12-11 11:21:28 +01:00
parent 2bf68a0bf4
commit cc781e44f3
3 changed files with 13 additions and 10 deletions

View File

@ -891,9 +891,9 @@ static void edit_params(u32 argc, char **argv, char **envp) {
alloc_printf("-Wl,--dynamic-list=%s/dynamic_list.txt", obj_path);
#endif
#ifdef USEMMAP
#ifdef USEMMAP
cc_params[cc_par_cnt++] = "-lrt";
#endif
#endif
}

View File

@ -52,8 +52,11 @@ double compute_weight(afl_state_t *afl, struct queue_entry *q,
hits = afl->n_fuzz[q->n_fuzz_entry];
if (hits == 0) { hits = 1; }
} else { hits = 1; }
} else {
hits = 1;
}
double weight = 1.0;
weight *= avg_exec_us / q->exec_us;

View File

@ -87,7 +87,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
afl->w_end = 0.3;
afl->g_max = 5000;
afl->period_pilot_tmp = 5000.0;
afl->schedule = FAST ; /* Power schedule (default: FAST) */
afl->schedule = FAST; /* Power schedule (default: FAST) */
afl->havoc_max_mult = HAVOC_MAX_MULT;
afl->clear_screen = 1; /* Window resized? */