aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-06 14:16:19 +0200
committervan Hauser <vh@thc.org>2020-05-06 14:16:19 +0200
commita63c838b103678042ad3720e8ccdbbdea1a874a5 (patch)
tree859e4be82d6c18258e468a19306b2bc47fcfb4bb
parentb7e574607c1b153a1c64fa1108a3b1b157cbd77c (diff)
downloadafl++-a63c838b103678042ad3720e8ccdbbdea1a874a5.tar.gz
make build options for qemu more visible
-rwxr-xr-xqemu_mode/build_qemu_support.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh
index 1b6690c6..bd18927f 100755
--- a/qemu_mode/build_qemu_support.sh
+++ b/qemu_mode/build_qemu_support.sh
@@ -163,6 +163,8 @@ fi
cd qemu-$VERSION || exit 1
+echo Building for CPU target $CPU_TARGET
+
echo "[*] Applying patches..."
patch -p1 <../patches/elfload.diff || exit 1
@@ -188,6 +190,7 @@ echo "[+] Patching done."
if [ "$STATIC" = "1" ]; then
+ echo Building STATIC binary
./configure --extra-cflags="-O3 -ggdb -DAFL_QEMU_STATIC_BUILD=1" \
--disable-bsd-user --disable-guest-agent --disable-strip --disable-werror \
--disable-gcrypt --disable-debug-info --disable-debug-tcg --disable-tcg-interpreter \