#if !SANITIZER_NETBSD
#include "sanitizer_flags.h"
struct ioctl_desc { … };
const unsigned ioctl_table_max = …;
static ioctl_desc ioctl_table[ioctl_table_max];
static unsigned ioctl_table_size = …;
static void ioctl_table_fill() { … }
static bool ioctl_initialized = …;
struct ioctl_desc_compare { … };
static void ioctl_init() { … }
static unsigned ioctl_request_fixup(unsigned req) { … }
static const ioctl_desc *ioctl_table_lookup(unsigned req) { … }
static bool ioctl_decode(unsigned req, ioctl_desc *desc) { … }
static const ioctl_desc *ioctl_lookup(unsigned req) { … }
static void ioctl_common_pre(void *ctx, const ioctl_desc *desc, int d,
unsigned request, void *arg) { … }
static void ioctl_common_post(void *ctx, const ioctl_desc *desc, int res, int d,
unsigned request, void *arg) { … }
#endif