diff options
| author | flk0 <50313152+flk0@users.noreply.github.com> | 2024-03-23 15:39:54 +1000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-23 15:39:54 +1000 | 
| commit | 4b2cdaf47c4b6ed39dc3791dae6303f560ddd33f (patch) | |
| tree | 66d03297568d7a0f7211aa8697d41b7174d046cf | |
| parent | 775861ea94d00672c9e868db329073afd699b994 (diff) | |
| download | afl++-4b2cdaf47c4b6ed39dc3791dae6303f560ddd33f.tar.gz | |
Fix build_qemu_support.sh static builds
The recently added config option 'enable-plugins' breaks static builds of qemuafl. Override the enable for 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 \ " | 
