diff options
author | Alexander Bulekov | 2020-04-21 20:22:30 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2020-05-04 17:07:33 +0200 |
commit | 05509c8e6def8a23878b93eda3163b7b405a5d57 (patch) | |
tree | a3787d14bd03ded9f08fa248699f47938c5471c0 /util/qemu-timer.c | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200504'... (diff) | |
download | qemu-05509c8e6def8a23878b93eda3163b7b405a5d57.tar.gz qemu-05509c8e6def8a23878b93eda3163b7b405a5d57.tar.xz qemu-05509c8e6def8a23878b93eda3163b7b405a5d57.zip |
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>
Diffstat (limited to 'util/qemu-timer.c')
0 files changed, 0 insertions, 0 deletions