Open leozhao2333 opened 1 week ago
Sorry for the terminal output in Chinese :no_mouth:
You have to change your kernel version to nyx kernel. Then you can enjoy kAFL
Hello! I do not install the Nyx kernal, but I actually install the NYX-QEMU patch, and I actually successfully started the KAFL before, but after once start up my machine, the components output becomes here 🥹
It is different between nyx-qemu and nyx-kernel.
You can get nyx-qemu's code coverage if you patch your kernel to nyx kernel modifying hypervisor modules to get qemu coverage instead of host coverage.
Okey I see. I try to change the kernal to nyx-kernal, but do you have any suggestion about how to fix
[QEMU-NYX] Booting VM to start fuzzing...
but waiting and waiting and get no response
Since I config some similar scripts using the kAFL successfully before, but suddenly just once start up my machine, it just into a while true do: waiting
infinity loop
I cannot fully understand your environment and Bugs. Because i don't know your full context.
But the way to resolve these kind of porblems is the set --debug
options and observe the hprintf log
or other log files from QEMU. Or reset the host Ubuntu and try reinstalling kAFL.
Sorry for my not precise expression. I meet the trouble is that: the kAFL sometimes work, but sometimes do not work even I don't change any config file.
The cannot work behavior is: the first thread stuck in [QEMU-NYX] Booting VM to start fuzzing...
and the other thread stuck in [QEMU-NYX] Waiting for snapshot to start fuzzing...
BUT it in small probability randomly works, the attempts I have tried:
I wander how to fix this situation, if you need more information about my host system, could you please explicate what you need.
Can you show your agent.cpp or harness? Specifically, Insert hprintf line by line in your harness and observe the output. Through this, We can finally notice which point the fuzz was stucked with and point out what we need to do.
Hello! I have some issues when using kafl to fuzz windows .sys file. It seems that QEMU-NYX can't booting VM to starting fuzzing. The terminal output will stuck in "[QEMU-NYX] Waiting for snapshot to start fuzzing..." for minute. The output log shows below, sorry for some confusion about personal information in ``
My core version is :
And my process information is: