[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
- [PATCH v5 07/16] fuzz: Add support for custom crossover functions, (continued)
- [PATCH v5 07/16] fuzz: Add support for custom crossover functions, Alexander Bulekov, 2020/10/20
- [PATCH v5 08/16] fuzz: add a DISABLE_PCI op to general-fuzzer, Alexander Bulekov, 2020/10/20
- [PATCH v5 09/16] fuzz: add a crossover function to generic-fuzzer, Alexander Bulekov, 2020/10/20
- [PATCH v5 10/16] scripts/oss-fuzz: Add script to reorder a general-fuzzer trace, Alexander Bulekov, 2020/10/20
- [PATCH v5 11/16] scripts/oss-fuzz: Add crash trace minimization script, Alexander Bulekov, 2020/10/20
- [PATCH v5 12/16] fuzz: Add instructions for using general-fuzz, Alexander Bulekov, 2020/10/20
- [PATCH v5 13/16] fuzz: add an "opaque" to the FuzzTarget struct, Alexander Bulekov, 2020/10/20
- [PATCH v5 14/16] fuzz: add general-fuzz configs for oss-fuzz, Alexander Bulekov, 2020/10/20
- [PATCH v5 15/16] fuzz: register predefined general-fuzz configs, Alexander Bulekov, 2020/10/20
- [PATCH v5 16/16] scripts/oss-fuzz: remove the general-fuzz target, Alexander Bulekov, 2020/10/20
- Re: [PATCH v5 00/16] Add a Generic Virtual Device Fuzzer,
Thomas Huth <=