about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-02-28 03:31:50 +0100
committerhexcoder- <heiko@hexco.de>2020-02-28 03:31:50 +0100
commitcaa8fea8e2cf977ef565ea2bd9de2e606af1da49 (patch)
treeedbf9eddf66b7e1de865a9f06a7be64b84b4a62d /src/afl-fuzz.c
parent212e5d1a720cc52b8d7c674cb65586e4fe82a3b0 (diff)
downloadafl++-caa8fea8e2cf977ef565ea2bd9de2e606af1da49.tar.gz
add env info to afl-showmap, in qemu_mode add forgotten MacOSX env var to afl-analyze, afl-fuzz, afl-tmin
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c6
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);