[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/9] oss-fuzz: remove binaries from qemu-bundle tree
From: |
Paolo Bonzini |
Subject: |
[PULL 3/9] oss-fuzz: remove binaries from qemu-bundle tree |
Date: |
Thu, 21 Jul 2022 18:36:15 +0200 |
oss-fuzz is finding possible fuzzing targets even under qemu-bundle/.../bin,
but they
cannot be used because the required shared libraries are missing. Since the
fuzzing targets are already placed manually in $OUT, the bindir and libexecdir
subtrees are not needed; remove them.
Cc: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
scripts/oss-fuzz/build.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh
index 2656a89aea..5ee9141e3e 100755
--- a/scripts/oss-fuzz/build.sh
+++ b/scripts/oss-fuzz/build.sh
@@ -87,8 +87,10 @@ if [ "$GITLAB_CI" != "true" ]; then
make "-j$(nproc)" qemu-fuzz-i386 V=1
fi
-# Prepare a preinstalled tree
+# Place data files in the preinstall tree
make install DESTDIR=$DEST_DIR/qemu-bundle
+rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/bin
+rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/libexec
targets=$(./qemu-fuzz-i386 | awk '$1 ~ /\*/ {print $2}')
base_copy="$DEST_DIR/qemu-fuzz-i386-target-$(echo "$targets" | head -n 1)"
--
2.36.1
- [PULL 0/9] More fixes + random seed patches for QEMU 7.1, Paolo Bonzini, 2022/07/21
- [PULL 2/9] accel/kvm: Avoid Coverity warning in query_stats(), Paolo Bonzini, 2022/07/21
- [PULL 3/9] oss-fuzz: remove binaries from qemu-bundle tree,
Paolo Bonzini <=
- [PULL 1/9] docs: Add caveats for Windows as the build platform, Paolo Bonzini, 2022/07/21
- [PULL 6/9] hw/mips: boston: pass random seed to fdt, Paolo Bonzini, 2022/07/21
- [PULL 7/9] hw/guest-loader: pass random seed to fdt, Paolo Bonzini, 2022/07/21
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Alex Bennée, 2022/07/21
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Jason A. Donenfeld, 2022/07/21
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Alex Bennée, 2022/07/22
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Jason A. Donenfeld, 2022/07/22
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Alex Bennée, 2022/07/22
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Paolo Bonzini, 2022/07/22
- Re: [PULL 7/9] hw/guest-loader: pass random seed to fdt, Jason A. Donenfeld, 2022/07/22