[llvm-commits] tsan: detect use-after-free

Dmitry Vyukov dvyukov at google.com
Thu May 17 02:44:40 PDT 2012


ThreadSanitizer:
The patch adds new 'freed' bit to shadow. That idea is that if the bit is
set, any access will race with it. So it does not slow-down memory access
processing and allows to restore both tid/stack for free.

http://codereview.appspot.com/6214052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120517/bf5ef61d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: issue6214052_1.diff
Type: application/octet-stream
Size: 6771 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120517/bf5ef61d/attachment.obj>


More information about the llvm-commits mailing list