Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 398 by [email protected]: Crash on ODR between instrumented and non-instrumented libraries
https://code.google.com/p/address-sanitizer/issues/detail?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.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
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