mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
disable memory limits for ASAN build
This commit is contained in:
committed by
Dominik Maier
parent
effa766d4a
commit
24b9eddc7e
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user