OSDN Git Service

scripts/oss-fuzz: rename bin/qemu-fuzz-i386
authorAlexander Bulekov <alxndr@bu.edu>
Sun, 1 Nov 2020 21:22:45 +0000 (16:22 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Nov 2020 14:42:53 +0000 (09:42 -0500)
commitf8b8f3746327d577cdd25d6f86bd993178aece58
tree8f5e69515c4609a8d15e82323f73c13e85570cfb
parent379218511219feddb85fde6362c0eefd94dd4828
scripts/oss-fuzz: rename bin/qemu-fuzz-i386

OSS-Fuzz changed the way it scans for fuzzers in $DEST_DIR. The new code
also scans subdirectories for fuzzers. This means that OSS-Fuzz is
considering bin/qemu-fuzz-i386 as an independent fuzzer (it is not - it
requires a --fuzz-target argument). This has led to coverage-build
failures and false crash reports. To work around this, we take advantage
of OSS-Fuzz' filename extension check - OSS-Fuzz will not run anything
that has an extension that is not ".exe":
https://github.com/google/oss-fuzz/blob/master/infra/utils.py#L115

Reported-by: OSS-Fuzz (Issue 26725)
Reported-by: OSS-Fuzz (Issue 26679)
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201101212245.185819-1-alxndr@bu.edu>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/oss-fuzz/build.sh