Graphviz 13.0.0~dev.20250210.0415
Loading...
Searching...
No Matches
asan.h
Go to the documentation of this file.
1
3
4#pragma once
5
6#ifdef __has_feature
7#if __has_feature(address_sanitizer)
8#include <sanitizer/asan_interface.h>
9#define ASAN_POISON(addr, size) ASAN_POISON_MEMORY_REGION((addr), (size))
10#define ASAN_UNPOISON(addr, size) ASAN_UNPOISON_MEMORY_REGION((addr), (size))
11#endif
12#endif
13
14#ifndef ASAN_POISON
15#define ASAN_POISON(addr, size) \
16 do { \
17 } while (0)
18#endif
19#ifndef ASAN_UNPOISON
20#define ASAN_UNPOISON(addr, size) \
21 do { \
22 } while (0)
23#endif