From 6901a56e001db2bd9705f69cc3f5649134b145ea Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 16 Oct 2019 18:02:31 +0200 Subject: executor/usb: enable endpoints on SET_INTERFACE This commit changes syz_usb_control_io to enable the relevant endpoints for the interface being set via a SET_INTERFACE request. --- docs/linux/external_fuzzing_usb.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'docs/linux/external_fuzzing_usb.md') diff --git a/docs/linux/external_fuzzing_usb.md b/docs/linux/external_fuzzing_usb.md index 8950f07aa..9faa5c6c1 100644 --- a/docs/linux/external_fuzzing_usb.md +++ b/docs/linux/external_fuzzing_usb.md @@ -29,13 +29,10 @@ More details can be found: A few major things that need to be done: -1. Implement proper support for multiple interfaces per configuration. -What currently is missing is enabling/disabling USB endpoints depending of which interface is set. -This is required to properly emulate some USB devices like the CDC NCM class. -2. Collect coverage from interrupts (this is required to enable better fuzzing of USB drivers after enumeration completes). -3. Add descriptions for all main USB classes. -4. Upstream KCOV changes. -5. Upstream the kernel interface for USB device emulation. +1. Collect coverage from interrupts (this is required to enable better fuzzing of USB drivers after enumeration completes). +2. Add descriptions for all main USB classes. +3. Upstream KCOV changes. +4. Upstream the kernel interface for USB device emulation. Some ideas for things that can be done: -- cgit mrf-deployment