disable memory limits for ASAN build

This commit is contained in:
van Hauser
2020-04-01 12:19:54 +02:00
committed by Dominik Maier
parent effa766d4a
commit 24b9eddc7e
2 changed files with 8 additions and 1 deletions

View File

@ -721,6 +721,13 @@ int main(int argc, char **argv_orig, char **envp) {
}
#ifdef _ASAN_BUILD
if (!afl->fsrv.mem_limit) {
WARNF("in the ASAN build we disable all memory limits");
afl->fsrv.mem_limit = 0;
}
#endif
setup_signal_handlers();
check_asan_opts();