docs/fuzz: update fuzzing documentation post-meson

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20201106180600.360110-3-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Alexander Bulekov 2020-11-06 13:06:00 -05:00 committed by Thomas Huth
parent f3a0208f24
commit e6a3e1322b

View File

@ -34,16 +34,16 @@ such as out-of-bounds accesses, use-after-frees, double-frees etc.::
Fuzz targets are built similarly to system targets::
make i386-softmmu/fuzz
make qemu-fuzz-i386
This builds ``./i386-softmmu/qemu-fuzz-i386``
This builds ``./qemu-fuzz-i386``
The first option to this command is: ``--fuzz-target=FUZZ_NAME``
To list all of the available fuzzers run ``qemu-fuzz-i386`` with no arguments.
For example::
./i386-softmmu/qemu-fuzz-i386 --fuzz-target=virtio-scsi-fuzz
./qemu-fuzz-i386 --fuzz-target=virtio-scsi-fuzz
Internally, libfuzzer parses all arguments that do not begin with ``"--"``.
Information about these is available by passing ``-help=1``