qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 00/16] Add a Generic Virtual Device Fuzzer


From: Thomas Huth
Subject: Re: [PATCH v5 00/16] Add a Generic Virtual Device Fuzzer
Date: Wed, 21 Oct 2020 15:24:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 21/10/2020 03.07, Alexander Bulekov wrote:
> v5:
>     - Replace GArray-based predefined fuzzer configs with a static
>       struct array
>     - "General" -> "Generic"
>     - Fix bugs with wrong timeout denominator and skipping DMA memwrites
>       without QTEST_LOG
> v4:
>     - Replace yaml + c template-based oss-fuzz configs, with C code to
>       register a FuzzTarget for each config (as suggested by Paolo)
>     - Replicate the functionality of address_space_write_rom to ensure
>       matching behavior when QTEST_LOG is enabled
>     - Improve code documentation/comments
>     - Small formatting changes
> v3:
>       - Use flatviews to help select regions for fuzzing 
>       - Meson-related changes
>     - Add some documentation
>       - Improve minimalization script to trim write{bwlq} commands
> v2:
>       - Remove QOS dependency.
>       - Add a custom crossover function
>       - Fix broken minimization scripts
>       - Fixes to the IO region and DMA handling code
> 
> This is a general virtual-device fuzzer, designed to fuzz devices over Port 
> IO,
> MMIO, and DMA.

 Hi Alexander,

this fails to compile in the Gitlab-CI:

https://gitlab.com/huth/qemu/-/jobs/803091952#L2308

../softmmu/memory.c: In function 'flatview_for_each_range':
2309../softmmu/memory.c:663:24: error: incompatible type for argument 1 of 'cb'
2310         if (cb(fr->addr.start, fr->addr.size, fr->mr, opaque))
2311                ~~~~~~~~^~~~~~
2312../softmmu/memory.c:663:24: note: expected 'ram_addr_t' {aka 'unsigned
int'} but argument is of type 'Int128' {aka 'struct Int128'}
2313../softmmu/memory.c:663:40: error: incompatible type for argument 2 of 'cb'
2314         if (cb(fr->addr.start, fr->addr.size, fr->mr, opaque))
2315                                ~~~~~~~~^~~~~
2316../softmmu/memory.c:663:40: note: expected 'ram_addr_t' {aka 'unsigned
int'} but argument is of type 'Int128' {aka 'struct Int128'}

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]