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

İsmail Dönmez ismail at donmez.ws
Tue Jul 22 02:57:23 PDT 2014


I guess noone is interested in discovering double frees? This is just a one
line change for the buildbots and it will at least uncover one real
double-free now. See http://llvm.org/bugs/show_bug.cgi?id=20228

At least Asan folks should be interested in this.


On Mon, Jul 14, 2014 at 12:43 PM, İsmail Dönmez <ismail at donmez.ws> wrote:

> Gentle ping.
>
>
> On Mon, Jul 7, 2014 at 9:50 PM, İsmail Dönmez <ismail at donmez.ws> wrote:
>
>> 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/20140722/10dc6a35/attachment.html>


More information about the cfe-dev mailing list