qemu-libafl-bridge
qemu-libafl-bridge copied to clipboard
cpu.write_mem to MMIO devices is ignored
As write_mem used the cpu_memory_rw_debug function it can not write to MMIO devices. The relevant upstream issue
I needed this for my fuzzing, so I adapted the proposed patch and it works for me.
I'm unable to engage with the QEMU mailing list, but I'd happily upstream this to you, if you are interested in taking it.
indeed, thanks for the proposition. i think it would be nice to expose this in some way. do you mind opening a pr with the changes you did? i can have a look at your patch.
good, it would be better to upstream this to QEMU directly. in that case, i think it's better to see how it goes on their side before merging your PR. feel free to post updates there, whether it gets merged to mainline or not
hey @vringar, do you have any news regarding the patch? if not, i think we can merge it there while they decide to merge it or not in mainline.
The patch set triggered by this request has been merged into a subtree. (Confirmed here) I couldn't figure out how to trace it from there to mainline but I believe it should be on it's way
great, thanks for the update. i'll close this issue and the PR once we merge back the changes with the next qemu release.
Closed by 1cceedd7726556052d3d3bcf08a07b7762f8aa7c