[cfe-dev] How to change sanitizer's report function report __asan_report_*
lou xiao via cfe-dev
cfe-dev at lists.llvm.org
Thu Sep 14 09:39:19 PDT 2017
Hello everybody,
I want to add a special checker for our memory pool。
Set the first bit of pointer as the special checker flag
for example:
void *p = mempool_get(mp);
Assume p mempool_get return a pointer: $(real_pointer) & 0xa0000000
So, I want to change the __asan_report* function to remove the first bit of
pointer
How can i change the __asan_report_*'s first param from void* to void **?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170915/2176fb48/attachment.html>
More information about the cfe-dev
mailing list