mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-15 11:28:08 +00:00
Auto disable memory limits for FASAN
This commit is contained in:
@ -1873,6 +1873,13 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
OKF("Using Frida Address Sanitizer Mode");
|
OKF("Using Frida Address Sanitizer Mode");
|
||||||
|
|
||||||
|
if (afl->fsrv.mem_limit) {
|
||||||
|
|
||||||
|
WARNF("in the Frida Address Sanitizer Mode we disable all memory limits");
|
||||||
|
afl->fsrv.mem_limit = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
fasan_check_afl_preload(afl_preload);
|
fasan_check_afl_preload(afl_preload);
|
||||||
|
|
||||||
setenv("ASAN_OPTIONS", "detect_leaks=false", 1);
|
setenv("ASAN_OPTIONS", "detect_leaks=false", 1);
|
||||||
|
Reference in New Issue
Block a user