From 9900c92ebc73a7706f4604c274ccf6430549e77e Mon Sep 17 00:00:00 2001 From: Dominik Maier <domenukk@gmail.com> Date: Fri, 17 Apr 2020 16:28:22 +0200 Subject: [PATCH] locked to unicornafl version --- unicorn_mode/build_unicorn_support.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 unicorn_mode/build_unicorn_support.sh diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh old mode 100644 new mode 100755 index df2a7f6d..8297e13f --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -33,6 +33,8 @@ # You must make sure that Unicorn Engine is not already installed before # running this script. If it is, please uninstall it first. +UNICORNAFL_VERSION='afl++2.64c' + echo "=================================================" echo "UnicornAFL build script" echo "=================================================" @@ -157,13 +159,15 @@ test -d unicornafl || { test -d unicornafl || { echo "[-] not checked out, please install git or check your internet connection." ; exit 1 ; } echo "[+] Got unicornafl." +cd "unicornafl" || exit 1 +echo "[*] Checking out $UNICORNAFL_VERSION" +git checkout "$UNICORNAFL_VERSION" || exit 1 + echo "[*] making sure config.h matches" -cp "../config.h" "./unicornafl/" || exit 1 +cp "../../config.h" "." || exit 1 echo "[*] Configuring Unicorn build..." -cd "unicornafl" || exit 1 - echo "[+] Configuration complete." echo "[*] Attempting to build unicornafl (fingers crossed!)..." -- GitLab