[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fuzz: select fuzz target using executable name
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] fuzz: select fuzz target using executable name |
Date: |
Wed, 22 Apr 2020 17:37:01 +0100 |
On Tue, Apr 21, 2020 at 02:22:30PM -0400, Alexander Bulekov wrote:
> The fuzzers are built into a binary (e.g. qemu-fuzz-i386). To select the
> device to fuzz/fuzz target, we usually use the --fuzz-target= argument.
> This commit allows the fuzz-target to be specified using the name of the
> executable. If the executable name ends with -target-FUZZ_TARGET, then
> we select the fuzz target based on this name, rather than the
> --fuzz-target argument. This is useful for systems such as oss-fuzz
> where we don't have control of the arguments passed to the fuzzer.
>
> Signed-off-by: Alexander Bulekov <address@hidden>
> ---
> tests/qtest/fuzz/fuzz.c | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
I fixed the indentation when merging.
Thanks, applied to my master tree:
https://github.com/stefanha/qemu/commits/master
Stefan
signature.asc
Description: PGP signature