HexHive / HexHive/USBFuzz

Command to reproduce the bug problem

Open
#3 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
130
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Given that you have found a USB bug, you may need to reproduce the bug. Assume that we have found a bug and the crashing input is saved in bugs/bug1.

run the following command to start the guest vm:
`
./usbfuzz-afl/qemu_mode/qemu-build/x86_64-softmmu/qemu-system-x86_64 -M q35 -device qemu-xhci,id=xhci -object memory-backend-shm,id=shm -device ivshmem-plain,id=ivshmem,memdev=shm -m 4G -enable-kvm -kernel OSes/linux-target/linux-test-build/arch/x86_64/boot/bzImage -hda images/linux/stretch.img -append 'root=/dev/sda console=ttyS0' -usbDescFile bugs/bug1 -serial stdio
`
The usbDescFile should be bugs/bug1, not seeds/usb_sk4Wm9j.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.