mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-10 17:21:33 +00:00
fixes
This commit is contained in:
parent
a7c43484e1
commit
9da3a2ed45
@ -1624,6 +1624,8 @@ static void try_to_add_to_dictN(afl_state_t *afl, u128 v, u8 size) {
|
||||
|
||||
}
|
||||
|
||||
if (cons_0 > 1 || cons_ff > 1) { return; }
|
||||
|
||||
}
|
||||
|
||||
maybe_add_auto(afl, (u8 *)&v + off, size);
|
||||
|
@ -92,7 +92,7 @@ static u32 measure_preemption(u32 target_ms) {
|
||||
volatile u32 v1, v2 = 0;
|
||||
|
||||
u64 st_t, en_t, st_c, en_c, real_delta, slice_delta;
|
||||
s32 loop_repeats = 0;
|
||||
//s32 loop_repeats = 0;
|
||||
|
||||
st_t = get_cur_time_us();
|
||||
st_c = get_cpu_usage_us();
|
||||
@ -113,7 +113,7 @@ repeat_loop:
|
||||
|
||||
if (en_t - st_t < target_ms * 1000) {
|
||||
|
||||
loop_repeats++;
|
||||
//loop_repeats++;
|
||||
goto repeat_loop;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user