aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/INSTALL.md2
-rw-r--r--frida_mode/GNUmakefile2
-rw-r--r--src/afl-common.c5
3 files changed, 3 insertions, 6 deletions
diff --git a/docs/INSTALL.md b/docs/INSTALL.md
index 85c5697a..a41d36c7 100644
--- a/docs/INSTALL.md
+++ b/docs/INSTALL.md
@@ -99,7 +99,7 @@ Be sure to setup `PATH` to point to the correct clang binaries and use the
freshly installed clang, clang++, gmake and coreutils, e.g.:
```
-export PATH="/usr/local/Cellar/llvm/12.0.1/bin/:/usr/local/opt/coreutils/libexec/gnubin:$PATH"
+export PATH="/usr/local/Cellar/llvm/13.0.0_2/bin/:/usr/local/opt/coreutils/libexec/gnubin:$PATH"
export CC=clang
export CXX=clang++
gmake
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile
index d7e4a261..a8e6ce90 100644
--- a/frida_mode/GNUmakefile
+++ b/frida_mode/GNUmakefile
@@ -335,7 +335,7 @@ hook: $(AFLPP_FRIDA_DRIVER_HOOK_OBJ) $(AFLPP_QEMU_DRIVER_HOOK_OBJ)
############################# ADDR #############################################
$(ADDR_BIN): $(ADDR_SRC) | $(BUILD_DIR)
- $(TARGET_CC) \
+ -$(TARGET_CC) \
$(CFLAGS) \
-Werror \
-Wall \
diff --git a/src/afl-common.c b/src/afl-common.c
index 6c2d0753..9973ac08 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -38,13 +38,10 @@
#include "common.h"
/* Detect @@ in args. */
-#ifndef __glibc__
- #include <unistd.h>
-#endif
+#include <unistd.h>
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <unistd.h>
#include <fcntl.h>
u8 be_quiet = 0;