Displaying 1 result from an estimated 1 matches for "__asan_get_address_type".
2014 Jul 10
3
[LLVMdev] Proposal: ASan debugging API
...ress_type;
// Useful for calling from the debugger to get information about a
pointer.
// Return one of the __ADDRESS_TYPE_* enum values. If global or stack,
tries
// to also return the variable name, address and size. If heap, tries to
// return the chunk address and size.
int __asan_get_address_type(void *addr, char **region_name,
void **region_address, size_t *region_size);
// Useful for calling from the debugger to get the allocation stack
trace
// and thread ID for a heap address. Returns 1 on success, 0 on error.
int __asan_get_alloc_stack(void...