qemu-patch-raspberry4/tests/qtest/fuzz
Alexander Bulekov 8630b43f11 fuzz: enable dynamic args for generic-fuzz configs
For some device configurations, it is useful to configure some
resources, and adjust QEMU arguments at runtime, prior to fuzzing. This
patch adds an "argfunc" to generic the generic_fuzz_config. When
specified, it is responsible for configuring the resources and returning
a string containing the corresponding QEMU arguments. This can be useful
for targets that rely on e.g.:
 * a temporary qcow2 image
 * a temporary directory
 * an unused TCP port used to bind the VNC server

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210117230924.449676-2-alxndr@bu.edu>
2021-02-08 14:43:54 +01:00
..
fork_fuzz.c fuzz: do not use POSIX shm for coverage bitmap 2020-07-06 07:37:02 +02:00
fork_fuzz.h fuzz: support for fork-based fuzzing. 2020-02-22 08:26:48 +00:00
fork_fuzz.ld fuzz: Make fork_fuzz.ld compatible with LLVM's LLD 2020-11-10 08:51:30 +01:00
fuzz.c fuzz: log the arguments used to initialize QEMU 2021-02-08 14:43:54 +01:00
fuzz.h Clean up includes 2020-12-10 17:16:44 +01:00
generic_fuzz.c fuzz: enable dynamic args for generic-fuzz configs 2021-02-08 14:43:54 +01:00
generic_fuzz_configs.h fuzz: enable dynamic args for generic-fuzz configs 2021-02-08 14:43:54 +01:00
i440fx_fuzz.c meson: link emulators without Makefile.target 2020-08-21 06:30:40 -04:00
meson.build fuzz: add virtio-blk fuzz target 2020-11-10 08:51:30 +01:00
qos_fuzz.c tests/qtest: Fix potential NULL pointer dereference in qos_build_main_args() 2020-11-03 10:15:43 -05:00
qos_fuzz.h fuzz: add support for qos-assisted fuzz targets 2020-02-22 08:26:48 +00:00
qtest_wrappers.c meson: link emulators without Makefile.target 2020-08-21 06:30:40 -04:00
virtio_blk_fuzz.c fuzz: add virtio-blk fuzz target 2020-11-10 08:51:30 +01:00
virtio_net_fuzz.c meson: link emulators without Makefile.target 2020-08-21 06:30:40 -04:00
virtio_scsi_fuzz.c meson: link emulators without Makefile.target 2020-08-21 06:30:40 -04:00