sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
asan_interface.h File Reference
#include <sanitizer/common_interface_defs.h>

Go to the source code of this file.

Macros

#define ASAN_POISON_MEMORY_REGION(addr, size)   ((void)(addr), (void)(size))
 
#define ASAN_UNPOISON_MEMORY_REGION(addr, size)   ((void)(addr), (void)(size))
 

Functions

void __asan_poison_memory_region (void const volatile *addr, size_t size)
 
void __asan_unpoison_memory_region (void const volatile *addr, size_t size)
 
int __asan_address_is_poisoned (void const volatile *addr)
 
void * __asan_region_is_poisoned (void *beg, size_t size)
 
void __asan_describe_address (void *addr)
 
int __asan_report_present ()
 
void * __asan_get_report_pc ()
 
void * __asan_get_report_bp ()
 
void * __asan_get_report_sp ()
 
void * __asan_get_report_address ()
 
int __asan_get_report_access_type ()
 
size_t __asan_get_report_access_size ()
 
const char * __asan_get_report_description ()
 
const char * __asan_locate_address (void *addr, char *name, size_t name_size, void **region_address, size_t *region_size)
 
size_t __asan_get_alloc_stack (void *addr, void **trace, size_t size, int *thread_id)
 
size_t __asan_get_free_stack (void *addr, void **trace, size_t size, int *thread_id)
 
void __asan_get_shadow_mapping (size_t *shadow_scale, size_t *shadow_offset)
 
void __asan_report_error (void *pc, void *bp, void *sp, void *addr, int is_write, size_t access_size)
 
void __asan_set_death_callback (void(*callback)(void))
 
void __asan_set_error_report_callback (void(*callback)(const char *))
 
void __asan_on_error ()
 
void __asan_print_accumulated_stats ()
 
const char * __asan_default_options ()
 
void * __asan_get_current_fake_stack ()
 
void * __asan_addr_is_in_fake_stack (void *fake_stack, void *addr, void **beg, void **end)
 

Macro Definition Documentation

#define ASAN_POISON_MEMORY_REGION (   addr,
  size 
)    ((void)(addr), (void)(size))
#define ASAN_UNPOISON_MEMORY_REGION (   addr,
  size 
)    ((void)(addr), (void)(size))

Function Documentation

void* __asan_addr_is_in_fake_stack ( void *  fake_stack,
void *  addr,
void **  beg,
void **  end 
)
int __asan_address_is_poisoned ( void const volatile *  addr)
const char* __asan_default_options ( )
void __asan_describe_address ( void *  addr)
size_t __asan_get_alloc_stack ( void *  addr,
void **  trace,
size_t  size,
int *  thread_id 
)
void* __asan_get_current_fake_stack ( )
size_t __asan_get_free_stack ( void *  addr,
void **  trace,
size_t  size,
int *  thread_id 
)
size_t __asan_get_report_access_size ( )
int __asan_get_report_access_type ( )
void* __asan_get_report_address ( )
void* __asan_get_report_bp ( )
const char* __asan_get_report_description ( )
void* __asan_get_report_pc ( )
void* __asan_get_report_sp ( )
void __asan_get_shadow_mapping ( size_t shadow_scale,
size_t shadow_offset 
)
const char* __asan_locate_address ( void *  addr,
char *  name,
size_t  name_size,
void **  region_address,
size_t region_size 
)
void __asan_on_error ( )
void __asan_poison_memory_region ( void const volatile *  addr,
size_t  size 
)
void __asan_print_accumulated_stats ( )
void* __asan_region_is_poisoned ( void *  beg,
size_t  size 
)
void __asan_report_error ( void *  pc,
void *  bp,
void *  sp,
void *  addr,
int  is_write,
size_t  access_size 
)
int __asan_report_present ( )
void __asan_set_death_callback ( void(*)(void)  callback)
void __asan_set_error_report_callback ( void(*)(const char *)  callback)
void __asan_unpoison_memory_region ( void const volatile *  addr,
size_t  size 
)