Graphviz
13.1.3~dev.20250811.0826
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
(void)(addr); \
18
(void)(size); \
19
} while (0)
20
#endif
21
#ifndef ASAN_UNPOISON
22
#define ASAN_UNPOISON(addr, size) \
23
do { \
24
(void)(addr); \
25
(void)(size); \
26
} while (0)
27
#endif
lib
util
asan.h
Generated by
1.9.8