search for: __asan_get_shadow_mapping

Displaying 1 result from an estimated 1 matches for "__asan_get_shadow_mapping".

2014 Jul 10
3
[LLVMdev] Proposal: ASan debugging API
...r a heap address. Returns 1 on success, 0 on error. int __asan_get_free_stack(void *addr, void **trace, size_t *frame_count, void **top_frame_bp, int *thread_id); // Useful for calling from the debugger to get the current shadow memory // mapping. void __asan_get_shadow_mapping(size_t *shadow_scale, size_t *shadow_offset); Hi, I would like to improve the debugging experience for ASan. The 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 som...