Hi Stefano, On 21/03/2025 22:32, Stefano Stabellini wrote:
As discussed, please add a wrapper with an empty implementation in the regular case and the call to libafl_qemu_end when the fuzzer is enabled. So that here it becomes just something like:fuzzer_success();
I was thinking the same when reviewing the code. It would make the code a bit more readable. We would also want fuzzer_failure(). Both would need to be implemented in a common header.
Cheers, -- Julien Grall