 |
Blender V5.0
|
Go to the documentation of this file.
13# define __has_feature(x) 0
16#if (defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer)) && \
17 (!defined(_MSC_VER) || _MSC_VER > 1929)
18# include "sanitizer/asan_interface.h"
22# define ASAN_POISON_MEMORY_REGION(addr, size) (void)(0 && ((size) != 0 && (addr) != NULL))
23# define ASAN_UNPOISON_MEMORY_REGION(addr, size) (void)(0 && ((size) != 0 && (addr) != NULL))
31#define BLI_asan_poison(addr, size) ASAN_POISON_MEMORY_REGION(addr, size)
36#define BLI_asan_unpoison(addr, size) ASAN_UNPOISON_MEMORY_REGION(addr, size)