compiler.h: Add a new attribute nosanitize_undefined
This allow us to disable UBSan for particular function.
# define nosanitize_address __attribute__ ((no_sanitize_address))
+/* The nosanitize_undefined attribute informs GCC don't sanitize it */
+
+# define nosanitize_undefined __attribute__((no_sanitize("undefined")))
+
/* The nostackprotect_function attribute disables stack protection in
* sensitive functions, e.g., stack coloration routines.
*/
# define noinline_function
# define noinstrument_function
# define nosanitize_address
+# define nosanitize_undefined
# define nostackprotect_function
# define unused_code
# define noinline_function
# define noinstrument_function
# define nosanitize_address
+# define nosanitize_undefined
# define nostackprotect_function
# define unused_code
# define unused_data
# define noinline_function
# define noinstrument_function
# define nosanitize_address
+# define nosanitize_undefined
# define nostackprotect_function
# define unused_code
# define unused_data
# define noinline_function
# define noinstrument_function
# define nosanitize_address
+# define nosanitize_undefined
# define nostackprotect_function
# define unused_code
# define unused_data
