From e6ebef88ac567c3be8461923ea4f0bc9b9d5ad08 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 7 Aug 2019 18:11:33 +0200 Subject: executor: add some USB realted TODOs (#1319) Also simplify timeout related code a bit. --- executor/common_usb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor/common_usb.h') 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]); -- cgit mrf-deployment