search for: __asan_describe_address

Displaying 2 results from an estimated 2 matches for "__asan_describe_address".

2016 Jul 04
2
[RFC] ASan: Reify all information relevant for diagnostics
...nowing about ASan internals); - Have a debugger (possible running on another host) be able to get all the information available through ASan API in a structured way. We will be proposing patches to implement this. I'm thinking of doing it piecewise by starting with simple API functions like `__asan_describe_address(void *)`. We'd add a function to populate a struct, and then reimplement __asan_describe_address in terms of that function. For the core dump/minimize number of calls scenario, we'd like to have one single "error description" structure, which we could add to a core dump via syste...
2014 Jul 10
3
[LLVMdev] Proposal: ASan debugging API
...idea is to have a couple of useful commands in LLDB (probably implemented as Python scripts) that could help the user when they are debugging an ASan-enabled binary. We already have some debugging API (asan_interface.h): // Print the description of addr (useful when debugging in gdb). void __asan_describe_address(void *addr); What I'd like to have is a few more API on the ASan/compiler-rt side to query various information that ASan can provide, both about an error report and about general addresses, something like: // Useful for calling from a debugger to get information about an error. // If...