diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2019-08-07 18:11:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-07 18:11:33 +0200 |
| commit | e6ebef88ac567c3be8461923ea4f0bc9b9d5ad08 (patch) | |
| tree | 1987c70938e8e6c8050dc14c45127f1bfd3ad673 /executor/common_usb.h | |
| parent | cdde748628a830b9236db9890a9fea0764bde4fb (diff) | |
executor: add some USB realted TODOs (#1319)
Also simplify timeout related code a bit.
Diffstat (limited to 'executor/common_usb.h')
| -rw-r--r-- | executor/common_usb.h | 2 |
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]); |
