diff options
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index e81c7d9f..dc033713 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -717,7 +717,7 @@ int main(int argc, char** argv, char** envp) { if (getenv("LD_PRELOAD")) WARNF( - "LD_PRELOAD is set, are you sure that is want to you want to do " + "LD_PRELOAD is set, are you sure that is what to you want to do " "instead of using AFL_PRELOAD?"); if (getenv("AFL_PRELOAD")) { @@ -739,9 +739,9 @@ int main(int argc, char** argv, char** envp) { } if (qemu_preload) - buf = alloc_printf("%s,LD_PRELOAD=%s", qemu_preload, afl_preload); + buf = alloc_printf("%s,LD_PRELOAD=%s,DYLD_INSERT_LIBRARIES=%s", qemu_preload, afl_preload, afl_preload); else - buf = alloc_printf("LD_PRELOAD=%s", afl_preload); + buf = alloc_printf("LD_PRELOAD=%s,DYLD_INSERT_LIBRARIES=%s", afl_preload, afl_preload); setenv("QEMU_SET_ENV", buf, 1); |