mirror of
https://github.com/thunderbrewhq/system.git
synced 2026-02-04 00:39:08 +00:00
11 lines
250 B
C++
11 lines
250 B
C++
|
|
#ifndef SYSTEM_UNSAFE_HPP
|
||
|
|
#define SYSTEM_UNSAFE_HPP
|
||
|
|
|
||
|
|
// Abbreviations to disable the UndefinedBehaviorSanitizer
|
||
|
|
|
||
|
|
#define WHOA_UNSAFE __attribute__((no_sanitize("undefined")))
|
||
|
|
|
||
|
|
#define WHOA_UNSAFE_BOUNDS __attribute__((no_sanitize("bounds")))
|
||
|
|
|
||
|
|
#endif
|