Improvments#
USER_FAST_ACQUIRE
#
It’s possible to enhance the fuzzing speed by leveraging a specific hypercall in kAFL’s API: USER_FAST_ACQUIRE
.
Rewriting the harness with this hypercall:
1kAFL_hypercall(HYPERCALL_KAFL_USER_FAST_ACQUIRE, 0);
2fuzzme(payload_buffer->data, payload_buffer->size);
3kAFL_hypercall(HYPERCALL_KAFL_RELEASE, 0);