diff options
| author | van Hauser <vh@thc.org> | 2022-01-20 16:17:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-20 16:17:08 +0100 |
| commit | 7aced239e8a0855d87ecc921ba5691b29202ec1e (patch) | |
| tree | a8e877a149495ea4ec48723d8af57426f8322a3a /docs/INSTALL.md | |
| parent | 9242e0db8ac8a0e82d78432af389108e74700f00 (diff) | |
| parent | d1de12d6175cd84357eadbf204e15b184b22ae42 (diff) | |
| download | afl++-7aced239e8a0855d87ecc921ba5691b29202ec1e.tar.gz | |
Merge pull request #1294 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'docs/INSTALL.md')
| -rw-r--r-- | docs/INSTALL.md | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/docs/INSTALL.md b/docs/INSTALL.md index efec0d8b..3c96a4fd 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -12,7 +12,7 @@ docker run -ti -v /location/of/your/target:/src aflplusplus/aflplusplus ``` This image is automatically generated when a push to the stable repo happens. -You will find your target source code in /src in the container. +You will find your target source code in `/src` in the container. If you want to build AFL++ yourself, you have many options. The easiest choice is to build and install everything: @@ -33,8 +33,8 @@ sudo make install It is recommended to install the newest available gcc, clang and llvm-dev possible in your distribution! -Note that "make distrib" also builds FRIDA mode, QEMU mode, unicorn_mode -and more. If you just want plain AFL++, then do "make all". If you want +Note that `make distrib` also builds FRIDA mode, QEMU mode, unicorn_mode +and more. If you just want plain AFL++, then do `make all`. If you want some assisting tooling compiled but are not interested in binary-only targets then instead choose: @@ -96,11 +96,16 @@ 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++, gmake and coreutils, e.g.: +freshly installed clang, clang++, llvm-config, gmake and coreutils, e.g.: ```shell -export -PATH="/usr/local/Cellar/llvm/13.0.0_2/bin/:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:$PATH" +# Depending on your MacOS system + brew version it is either +export PATH="/opt/homebrew/opt/llvm/bin:$PATH" +# or +export PATH="/usr/local/opt/llvm/bin:$PATH" +# you can check with "brew info llvm" + +export PATH="/usr/local/opt/coreutils/libexec/gnubin:/usr/local/bin:$PATH" export CC=clang export CXX=clang++ gmake |
