We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I'm interesting to your project.
It can be add USB in the target vm??
I'm add this option in kafl_fuzzer/common/config/default_settings.yml
kafl_fuzzer/common/config/default_settings.yml
qemu_base: -enable-kvm -machine kAFL64-v1 -cpu kAFL64-Hypervisor-v1,+vmx -no-reboot -display none -net none -device nec-usb-xhci -device usb-host,hostbus=1,hostport=5
like this, but the error has shown "qemu-system-x86_64: -device usb-host,hostbus=1,hostport=5: 'usb-host' is not a valid device model name"
Qemu-nyx doesn't have usb add features?? Or is there another way?
The text was updated successfully, but these errors were encountered:
Hi @kbh1860 thank you for your interest in kAFL !
It seems that libusb is disabled by default in QEMU, since our configure line doesn't enable or disable that feature explicitely: https://github.com/IntelLabs/kafl.qemu/blob/kafl_stable/compile_qemu_nyx.sh#L78
libusb
you will need to add --enable-libusb to that line, and and instruct kAFL deployment to simply run the build task:
--enable-libusb
build
make deploy -- --tags build
Sorry, something went wrong.
Hi @kbh1860 did you solve your issue ? Can we close it ?
No branches or pull requests
Hello! I'm interesting to your project.
It can be add USB in the target vm??
I'm add this option in
kafl_fuzzer/common/config/default_settings.yml
qemu_base: -enable-kvm -machine kAFL64-v1 -cpu kAFL64-Hypervisor-v1,+vmx -no-reboot -display none -net none -device nec-usb-xhci -device usb-host,hostbus=1,hostport=5
like this, but the error has shown "qemu-system-x86_64: -device usb-host,hostbus=1,hostport=5: 'usb-host' is not a valid device model name"
Qemu-nyx doesn't have usb add features?? Or is there another way?
The text was updated successfully, but these errors were encountered: