[llvm-commits] [PATCH] AddressSanitizer Initialization Order Checking

Reid Watson reidw at google.com
Thu Jul 12 10:19:31 PDT 2012


Hello,

Attached are two patches which add support for detecting
initialization order problems in AddressSanitizer.
Issues with initialization order are checked by poisoning the shadow
memory of global variables which are not guaranteed to have been
initialized before each modules initializers run.
This approach catches the most obvious issues with initialization
order, and correctly ignores access to global variables which should
be accessible during initializers (function local statics, etc.).

All the best,
Reid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compilerrt-asan-initializers.patch
Type: application/octet-stream
Size: 5248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120712/b85d65b7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-asan-initializers.patch
Type: application/octet-stream
Size: 15085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120712/b85d65b7/attachment-0001.obj>


More information about the llvm-commits mailing list