diff options
author | hexcoder- <heiko@hexco.de> | 2020-05-07 18:33:38 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-05-07 18:33:38 +0200 |
commit | d217c7df055b9ca44e5398d8c7d50d43e0b2e56d (patch) | |
tree | 39b381389f65c029a6bdb6dae9bba9c9ec4160e6 /qemu_mode/build_qemu_support.sh | |
parent | 9484da57ed3f421ac274ac51282dba779994da9a (diff) | |
parent | ef2ccc8117bb899616472e2d95525ae0ca1a2098 (diff) | |
download | afl++-d217c7df055b9ca44e5398d8c7d50d43e0b2e56d.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'qemu_mode/build_qemu_support.sh')
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 3 |
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 \ |