From c76dc73c7abba17ace61f703199946fe4cee162f Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Wed, 22 Dec 2021 01:25:32 +0100 Subject: better macos install docs --- docs/INSTALL.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 906d3f8e..85c5697a 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -93,20 +93,20 @@ depend mostly on user feedback. To build AFL, install llvm (and perhaps gcc) from brew and follow the general instructions for Linux. If possible, avoid Xcode at all cost. -`brew install wget git make cmake llvm gdb` +`brew install wget git make cmake llvm gdb coreutils` Be sure to setup `PATH` to point to the correct clang binaries and use the -freshly installed clang, clang++ and gmake, e.g.: +freshly installed clang, clang++, gmake and coreutils, e.g.: ``` -export PATH="/usr/local/Cellar/llvm/12.0.1/bin/:$PATH" +export PATH="/usr/local/Cellar/llvm/12.0.1/bin/:/usr/local/opt/coreutils/libexec/gnubin:$PATH" export CC=clang export CXX=clang++ gmake cd frida_mode gmake cd .. -gmake install +sudo gmake install ``` `afl-gcc` will fail unless you have GCC installed, but that is using outdated -- cgit 1.4.1