disable aslr on apple

This commit is contained in:
vanhauser-thc
2024-01-18 11:22:06 +01:00
parent 04219f9857
commit 523ce154c3
3 changed files with 12 additions and 3 deletions

View File

@ -1812,6 +1812,10 @@ int main(int argc, char **argv_orig, char **envp) {
check_cpu_governor(afl);
#endif
#ifdef __APPLE__
setenv("DYLD_NO_PIE", "1", 0);
#endif
if (getenv("LD_PRELOAD")) {
WARNF(