diff options
Diffstat (limited to 'nyx_mode')
-rw-r--r-- | nyx_mode/README.md | 8 | ||||
-rwxr-xr-x | nyx_mode/build_nyx_support.sh | 13 |
2 files changed, 18 insertions, 3 deletions
diff --git a/nyx_mode/README.md b/nyx_mode/README.md index 09421f27..1afedd9b 100644 --- a/nyx_mode/README.md +++ b/nyx_mode/README.md @@ -114,6 +114,14 @@ afl-fuzz -i in -o out -Y -S 1 -- ./PACKAGE-DIRECTORY afl-fuzz -i in -o out -Y -S 2 -- ./PACKAGE-DIRECTORY ``` +## AFL++ companion tools (afl-showmap etc.) + +Please note that AFL++ companion tools like afl-cmin, afl-showmap, etc. are +not supported with Nyx mode, only afl-fuzz. + +For source based instrumentation just use these tools normally, for +binary-only targets use with -Q for qemu_mode. + ## Real-world examples ### Fuzzing libxml2 with AFL++ in Nyx-mode diff --git a/nyx_mode/build_nyx_support.sh b/nyx_mode/build_nyx_support.sh index 3cb13cf1..83e0ae32 100755 --- a/nyx_mode/build_nyx_support.sh +++ b/nyx_mode/build_nyx_support.sh @@ -13,6 +13,13 @@ if [ ! "`uname -s`" = "Linux" ]; then fi +if [ ! "`uname -m`" = "x86_64" ]; then + + echo "[-] Error: Nyx mode is only available on x86_64 (yet)." + exit 0 + +fi + echo "[*] Making sure all Nyx is checked out" git status 1>/dev/null 2>/dev/null @@ -34,9 +41,9 @@ else fi -test -d QEMU-Nyx/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; } -test -d packer/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; } -test -d libnyx/.git || { echo "[-] Not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e packer/.git || { echo "[-] packer not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e libnyx/.git || { echo "[-] libnyx not checked out, please install git or check your internet connection." ; exit 1 ; } +test -e QEMU-Nyx/.git || { echo "[-] QEMU-Nyx not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[*] checking packer init.cpio.gz ..." if [ ! -f "packer/linux_initramfs/init.cpio.gz" ]; then |