From c054a92ddef28b343db8a733b3e191cf96c28768 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 10 Apr 2019 18:11:44 +0200 Subject: pkg/csource: generate timeouts for USB syzcalls This patch only covers per call timeouts, per prog one is not adjusted yet. --- executor/executor.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index 4dfe9490f..df38de3b9 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -593,6 +593,7 @@ retry: if (call_num == instr_eof) break; int call_extra_timeout = 0; + // Must match timeouts in pkg/csource/csource.go. if (strcmp(syscalls[call_num].name, "syz_usb_connect") == 0) { collect_extra_cover = true; prog_extra_timeout = 2000; -- cgit mrf-deployment