AFLplusplus / qemu-libafl-bridge

A patched QEMU that exposes an interface for LibAFL-based fuzzers
Other
57 stars 29 forks source link

feat(riscv): add libafl support #77

Closed saibotk closed 1 month ago

saibotk commented 2 months ago

This adds support for using LibAFL with RISCV in userspace.

We just added the same calls as found in the other cpu_loop.c implementations to the riscv one.

nine-point-eight-p commented 2 months ago

@saibotk Good job! I'm also working on adding RISCV support for libafl_qemu. Besides of these changes, I've also added some code to support compare hooks with RISCV. Maybe I can help with this part?

saibotk commented 2 months ago

Oh yes sure that would be amazing! Im sure you can just stack your PR on my one and open up another :)

Amazing to hear that someone else is also working on that!