From 5cd84ad93f7d67cdaa134707fcce1b1ef85183ad Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 26 Feb 2021 18:40:37 +0100 Subject: Full UBSan support - many fixes! --- libc/inc/def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/inc') diff --git a/libc/inc/def.h b/libc/inc/def.h index 8ff6d81..c8b9dbf 100644 --- a/libc/inc/def.h +++ b/libc/inc/def.h @@ -25,6 +25,8 @@ typedef unsigned long long u64; #define UNUSED(a) ((void)(a)) +#define NO_SANITIZE __attribute__((no_sanitize("undefined"))) + #define EOF (-1) #define NULL ((void *)0) -- cgit v1.2.3