Originally reported on Google Code with ID 398
When the same global variable is defined in ASan-instrumented and in a non-instrumented
libraries, there is a 50% chance that the linker will pick the non-instrumented symbol
and __asan_register_globals will attempt to poison redzones around it.
Negative effects range from cryptic out-of-bounds reports to startup CHECK failures
(ex. because the uninstrumented variable is not 32-byte aligned).
I wonder if this can be mitigated by making the reference in asan global descriptor
point to a local symbol for the same global.
Reported by eugenis@google.com on 2015-07-14 18:09:45
Originally reported on Google Code with ID 398
Reported by
eugenis@google.comon 2015-07-14 18:09:45