qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 02/16] fuzz: Add general virtual-device fuzzer


From: Paolo Bonzini
Subject: Re: [PATCH v3 02/16] fuzz: Add general virtual-device fuzzer
Date: Thu, 8 Oct 2020 09:04:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

On 22/09/20 16:03, Alexander Bulekov wrote:
>> +        if ((memory_region_is_ram(mr) ||
>> +            memory_region_is_ram_device(mr) ||
>> +            memory_region_is_rom(mr) ||
>> +            memory_region_is_romd(mr)) == false) {
>> +            name = object_get_canonical_path_component(child);
> This isn't a great way to check whether MRs have ops with code that is
> interesting to fuzz (for example the pflash MemoryRegions do not pass
> these checks, so you can't fuzz the pflash device). Need to think of
> some better checks to identify MRs that we are interested in fuzzing.

I think you can simply remove the ROMD check.

Paolo




reply via email to

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