[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v1 2/2] docs/fuzz: update make and run command lines
From: |
Alexander Bulekov |
Subject: |
Re: [PATCH v1 2/2] docs/fuzz: update make and run command lines |
Date: |
Thu, 8 Oct 2020 11:28:55 -0400 |
On 201007 1647, Dima Stepanov wrote:
> After meson and some other build changes the qemu fuzz target should be
> build as:
> make qemu-fuzz-i386
> And also update the run path command line.
>
> Signed-off-by: Dima Stepanov <dimastep@yandex-team.ru>
> ---
> docs/devel/fuzzing.txt | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/devel/fuzzing.txt b/docs/devel/fuzzing.txt
> index 96d71c9..7846b9e 100644
> --- a/docs/devel/fuzzing.txt
> +++ b/docs/devel/fuzzing.txt
> @@ -32,15 +32,15 @@ such as out-of-bounds accesses, use-after-frees,
> double-frees etc.
>
> Fuzz targets are built similarly to system/softmmu:
>
> - make i386-softmmu/fuzz
> + make qemu-fuzz-i386
>
> -This builds ./i386-softmmu/qemu-fuzz-i386
> +This builds ./build/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
> + ./build/qemu-fuzz-i386 --fuzz-target=virtio-scsi-fuzz
>
TIL that in-tree configures now happen in ./build/
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Thanks
> Internally, libfuzzer parses all arguments that do not begin with "--".
> Information about these is available by passing -help=1
> --
> 2.7.4
>