diff options
author | van Hauser <vh@thc.org> | 2024-03-23 15:17:42 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 15:17:42 +0700 |
commit | 9ece2e3f2cad7b99cf2794c4ab313115146576a0 (patch) | |
tree | 92960ba8a2cf43584cec65a905cda0056c649ec5 | |
parent | 59465bd249b318428d108ff64e4e00b6750ad2ca (diff) | |
parent | 4b2cdaf47c4b6ed39dc3791dae6303f560ddd33f (diff) | |
download | afl++-9ece2e3f2cad7b99cf2794c4ab313115146576a0.tar.gz |
Merge pull request #2040 from flk0/stable
Fix build_qemu_support.sh static builds
-rwxr-xr-x | qemu_mode/build_qemu_support.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu_mode/build_qemu_support.sh b/qemu_mode/build_qemu_support.sh index 45019cc8..ecc90ef5 100755 --- a/qemu_mode/build_qemu_support.sh +++ b/qemu_mode/build_qemu_support.sh @@ -215,8 +215,10 @@ if [ "$STATIC" = "1" ]; then echo Building STATIC binary # static PIE causes https://github.com/AFLplusplus/AFLplusplus/issues/892 + # plugin support requires dynamic linking QEMU_CONF_FLAGS="$QEMU_CONF_FLAGS \ --static --disable-pie \ + --disable-plugins \ --extra-cflags=-DAFL_QEMU_STATIC_BUILD=1 \ " |