On 06/08/2015 09:58 AM, Dmitriy - wrote:
How to force ASan to intercept mmap? Or how to understand that it
intercepts it?

You can add a new interceptor in compiler-rt/lib/asan/asan_interceptors.cc (similar to existing TSan mmap interceptor in tsan_interceptors.cc). If you are not interested in hacking compiler-rt, you could simply run your app under strace and look for mmap syscalls which overlap ASan shadow.

-Y

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to