diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-04-30 14:01:26 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2021-04-30 14:01:26 +0200 |
commit | d0225c2c4d465968660a08c93857fed354e539b1 (patch) | |
tree | 93fb00c08354d7232eb7110517fcc72a1d441d23 | |
parent | ade1d2819e9c74c81395a8ca40160a69ba94e8d9 (diff) | |
download | afl++-d0225c2c4d465968660a08c93857fed354e539b1.tar.gz |
disable QEMU static pie
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 6436d43a..02a44cef 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -211,8 +211,9 @@ if [ "$STATIC" = "1" ]; then echo Building STATIC binary + # static PIE causes https://github.com/AFLplusplus/AFLplusplus/issues/892 QEMU_CONF_FLAGS="$QEMU_CONF_FLAGS \ - --static \ + --static --disable-pie \ --extra-cflags=-DAFL_QEMU_STATIC_BUILD=1 \ " |