diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-25 14:21:59 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-25 14:21:59 +0100 |
commit | 47488dcd02a67683e1a904d3eb2b90069e5a93ec (patch) | |
tree | 1e3a85134413e2da8c090de7c1d6aab6caabe5e1 | |
parent | 185d7f2edea037902289967e008729d921db1978 (diff) | |
download | afl++-47488dcd02a67683e1a904d3eb2b90069e5a93ec.tar.gz |
nits
-rw-r--r-- | docs/INSTALL.md | 2 | ||||
-rw-r--r-- | frida_mode/GNUmakefile | 2 | ||||
-rw-r--r-- | src/afl-common.c | 5 |
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; |