From fa26c3cf35b4c8849e53da15351f1941aee227e1 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 18 Jun 2019 18:55:58 +0200 Subject: sys/linux, executor: add basic USB HID fuzzing support This commit adds the necessary descriptions and executor adjustments to enable targeted fuzzing of the enumeration process of USB HID devices. --- pkg/csource/csource.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/csource') diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go index de99313d2..2a27ed42d 100644 --- a/pkg/csource/csource.go +++ b/pkg/csource/csource.go @@ -76,6 +76,7 @@ func Write(p *prog.Prog, opts Options) ([]byte, error) { // Must match timeouts in executor/executor.cc. specialCallTimeouts := map[string]int{ "syz_usb_connect": 2000, + "syz_usb_control_io": 200, "syz_usb_disconnect": 200, } timeoutExpr := "45" -- cgit mrf-deployment