turn off map size detection if skip_bin_check is set

This commit is contained in:
vanhauser-thc
2021-05-22 12:15:09 +02:00
parent 9e6e7e8fe8
commit 58e39ecd8f
3 changed files with 8 additions and 5 deletions

View File

@ -1110,6 +1110,10 @@ u32 get_map_size(void) {
if (map_size % 64) { map_size = (((map_size >> 6) + 1) << 6); }
} else if (getenv("AFL_SKIP_BIN_CHECK")) {
map_size = MAP_SIZE;
}
return map_size;