tegrakernel/kernel/kernel-4.9/include/linux/kasan-checks.h

13 lines
366 B
C
Raw Normal View History

2022-02-16 09:13:02 -06:00
#ifndef _LINUX_KASAN_CHECKS_H
#define _LINUX_KASAN_CHECKS_H
#ifdef CONFIG_KASAN
void kasan_check_read(const void *p, unsigned int size);
void kasan_check_write(const void *p, unsigned int size);
#else
static inline void kasan_check_read(const void *p, unsigned int size) { }
static inline void kasan_check_write(const void *p, unsigned int size) { }
#endif
#endif