The current implementation of asan cookie is incorrect:
we add nosanitize metadata to the cookie load, but the metadata may be lost
and we will instrument the load from poisoned memory.
This change replaces the load with a call to __asan_load_cxx_array_cookie (r216692)
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Extend the comment and check that address space is 0 (otherwise asan doesn't want to handle the pointer)
PTAL
Please extend this comment to point out why we need to do this.