From 67fa1f59b87fed7268b465f7e9540a590a250c65 Mon Sep 17 00:00:00 2001 From: m00nbsd Date: Tue, 19 May 2020 21:13:37 +0200 Subject: executor: add support for USB fuzzing on NetBSD --- executor/executor_bsd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'executor/executor_bsd.h') diff --git a/executor/executor_bsd.h b/executor/executor_bsd.h index 39a4d732e..00de87d06 100644 --- a/executor/executor_bsd.h +++ b/executor/executor_bsd.h @@ -156,3 +156,15 @@ static bool cover_check(uint64 pc) #else #include "nocover.h" #endif + +#if GOOS_netbsd +#define SYZ_HAVE_FEATURES 1 +static feature_t features[] = { + {"usb", setup_usb}, +}; + +static void setup_machine(void) +{ + /* nothing */ +} +#endif -- cgit mrf-deployment