From b7a277d2bab922c7635c4281dcd6cfff76fd5d95 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Mon, 18 Nov 2019 19:10:37 +0100 Subject: executor: extend USB debug messages When USB_DEBUG is enabled, syzkaller crashes on unknown USB requests. This helps to find missing descriptions for particular USB classes. --- executor/common_linux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor/common_linux.h') diff --git a/executor/common_linux.h b/executor/common_linux.h index ee31b2061..38b67ef3e 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -72,7 +72,7 @@ static int event_timedwait(event_t* ev, uint64 timeout) #if SYZ_EXECUTOR || SYZ_REPEAT || SYZ_NET_INJECTION || SYZ_FAULT || SYZ_SANDBOX_NONE || \ SYZ_SANDBOX_SETUID || SYZ_SANDBOX_NAMESPACE || SYZ_SANDBOX_ANDROID || \ - SYZ_FAULT || SYZ_LEAK || SYZ_BINFMT_MISC + SYZ_FAULT || SYZ_LEAK || SYZ_BINFMT_MISC || (__NR_syz_usb_connect && USB_DEBUG) #include #include #include -- cgit mrf-deployment