xemu/tests/qtest/fuzz
Alexander Bulekov 05509c8e6d fuzz: select fuzz target using executable name
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.

[Fixed incorrect indentation.
--Stefan]

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-id: 20200421182230.6313-1-alxndr@bu.edu
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2020-05-04 16:07:33 +01:00
..
Makefile.include fuzz: add virtio-scsi fuzz target 2020-02-22 08:26:48 +00:00
fork_fuzz.c fuzz: support for fork-based fuzzing. 2020-02-22 08:26:48 +00:00
fork_fuzz.h fuzz: support for fork-based fuzzing. 2020-02-22 08:26:48 +00:00
fork_fuzz.ld fuzz: fix style/typos in linker-script comments 2020-03-06 10:33:26 +00:00
fuzz.c fuzz: select fuzz target using executable name 2020-05-04 16:07:33 +01:00
fuzz.h fuzz: add fuzzer skeleton 2020-02-22 08:26:48 +00:00
i440fx_fuzz.c fuzz: add i440fx fuzz targets 2020-02-22 08:26:48 +00:00
qos_fuzz.c fuzz: Simplify how we compute available machines and types 2020-04-29 08:01:52 +02:00
qos_fuzz.h fuzz: add support for qos-assisted fuzz targets 2020-02-22 08:26:48 +00:00
virtio_net_fuzz.c fuzz: add virtio-net fuzz target 2020-02-22 08:26:48 +00:00
virtio_scsi_fuzz.c fuzz: add virtio-scsi fuzz target 2020-02-22 08:26:48 +00:00