mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
LTO optimization, variable map size, autodictionary (#307)
* lto module clean-up * step 1/3 * step 1/3 completed * if tmp is ever made non-static * parts 2 and 3 - autodictionary is complete * variable map_size support * variable map size: changed overlooked functions * remove debug for autodict * 64 bit alignment of map size * fix review comments * force 64 bit alignment on both sides * typo
This commit is contained in:
@ -448,11 +448,13 @@ static void check_map_coverage(afl_state_t *afl) {
|
||||
|
||||
u32 i;
|
||||
|
||||
if (count_bytes(afl->fsrv.trace_bits) < 100) return;
|
||||
if (count_bytes(afl, afl->fsrv.trace_bits) < 100) return;
|
||||
|
||||
for (i = (1 << (MAP_SIZE_POW2 - 1)); i < MAP_SIZE; ++i)
|
||||
if (afl->fsrv.trace_bits[i]) return;
|
||||
|
||||
if (afl->fsrv.map_size != MAP_SIZE) return;
|
||||
|
||||
WARNF("Recompile binary with newer version of afl to improve coverage!");
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user