14 #ifndef SANITIZER_ASAN_INTERFACE_H
15 #define SANITIZER_ASAN_INTERFACE_H
41 #if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
42 #define ASAN_POISON_MEMORY_REGION(addr, size) \
43 __asan_poison_memory_region((addr), (size))
44 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
45 __asan_unpoison_memory_region((addr), (size))
47 #define ASAN_POISON_MEMORY_REGION(addr, size) \
48 ((void)(addr), (void)(size))
49 #define ASAN_UNPOISON_MEMORY_REGION(addr, size) \
50 ((void)(addr), (void)(size))
89 void **region_address,
size_t *region_size);
111 void *
addr,
int is_write,
size_t access_size);
151 #endif // SANITIZER_ASAN_INTERFACE_H
void * __asan_get_report_sp()
size_t __asan_get_alloc_stack(void *addr, void **trace, size_t size, int *thread_id)
void * __asan_get_current_fake_stack()
void __asan_set_death_callback(void(*callback)(void))
void * __asan_addr_is_in_fake_stack(void *fake_stack, void *addr, void **beg, void **end)
void __asan_print_accumulated_stats()
void __asan_unpoison_memory_region(void const volatile *addr, size_t size)
void __asan_get_shadow_mapping(size_t *shadow_scale, size_t *shadow_offset)
byte addr[8]
Definition: OWP_DG_1w-adaptor.ino:104
void * __asan_get_report_pc()
void __asan_poison_memory_region(void const volatile *addr, size_t size)
const char * __asan_default_options()
void __asan_report_error(void *pc, void *bp, void *sp, void *addr, int is_write, size_t access_size)
void * __asan_get_report_address()
tuple size
Definition: unpack-test.py:15
size_t __asan_get_free_stack(void *addr, void **trace, size_t size, int *thread_id)
int __asan_address_is_poisoned(void const volatile *addr)
void __asan_set_error_report_callback(void(*callback)(const char *))
const char * __asan_locate_address(void *addr, char *name, size_t name_size, void **region_address, size_t *region_size)
int __asan_report_present()
void * __asan_region_is_poisoned(void *beg, size_t size)
size_t __asan_get_report_access_size()
string name
Definition: setup.py:47
void __asan_describe_address(void *addr)
const char * __asan_get_report_description()
int __asan_get_report_access_type()
void * __asan_get_report_bp()