aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_usb.h')
-rw-r--r--executor/common_usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common_usb.h b/executor/common_usb.h
index 11e92565c..94d270b4b 100644
--- a/executor/common_usb.h
+++ b/executor/common_usb.h
@@ -267,6 +267,8 @@ static volatile long syz_usb_connect(volatile long a0, volatile long a1, volatil
}
debug("syz_usb_connect: usb_fuzzer_open success\n");
+ // TODO: consider creating two dummy_udc's per proc to increace the chance of
+ // triggering interaction between multiple USB devices within the same program.
char device[32];
sprintf(&device[0], "dummy_udc.%llu", procid);
rv = usb_fuzzer_init(fd, speed, "dummy_udc", &device[0]);