Skip to main content

Module asan

Module asan 

Source
Expand description

sanitizers interfaces.

Functionsยง

default_options
User-provided default option settings.
describe_address
Describes an address (useful for calling from the debugger).
get_report_access_size
Gets access size of an ASan error in bytes.
get_report_access_type
Gets access type of an ASan error (0 = read, 1 = write).
get_report_address
Gets the address of the report buffer of an ASan error.
get_report_bp
Gets the BP (base pointer) register value of an ASan error.
get_report_description
Gets the bug description of an ASan error.
get_report_pc
Gets the PC (program counter) register value of an ASan error.
get_report_sp
Gets the SP (stack pointer) register value of an ASan error.
is_address_poisoned
Checks if an address is poisoned.
poison_memory_region
Marks a memory region as unaddressable.
print_accumulated_stats
Prints accumulated statistics to stderr.
region_is_poisoned
Checks if a region is poisoned and returns the address of the first poisoned byte.
report_present
Checks if an error has been or is being reported.
set_error_report_callback
Sets a callback function to be called during ASan error reporting.
unpoison_memory_region
Marks a memory region as addressable.