[cfe-dev] [RFC] Linux bots should set MALLOC_PERTURB_

İsmail Dönmez ismail at donmez.ws
Mon Jul 7 11:50:52 PDT 2014


Hi,

glibc has a lightweight use-after-free detector which can be used by
setting MALLOC_PERTURB_  [0]. Thanks to this flag I found a possible
use-after-free bug in clang code. See
http://llvm.org/bugs/show_bug.cgi?id=20228

I suggest Linux bots make use of this flag to find possible use-after-free
bugs.

[0] http://udrepper.livejournal.com/11429.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140707/68295a2a/attachment.html>


More information about the cfe-dev mailing list