 |
Blender V4.3
|
Go to the documentation of this file.
9# define __has_feature(x) 0
12#if (defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer)) && \
13 (!defined(_MSC_VER) || _MSC_VER > 1929)
14# include "sanitizer/asan_interface.h"
18# define ASAN_POISON_MEMORY_REGION(addr, size) (void)(0 && ((size) != 0 && (addr) != NULL))
19# define ASAN_UNPOISON_MEMORY_REGION(addr, size) (void)(0 && ((size) != 0 && (addr) != NULL))
27#define BLI_asan_poison(addr, size) ASAN_POISON_MEMORY_REGION(addr, size)
32#define BLI_asan_unpoison(addr, size) ASAN_UNPOISON_MEMORY_REGION(addr, size)