[llvm-commits] [compiler-rt] r149875 - /compiler-rt/trunk/lib/asan/asan_malloc_win.cc

Timur Iskhodzhanov timurrrr at google.com
Mon Feb 6 13:08:23 PST 2012


And test cases in C too!
07.02.2012 1:08 пользователь "Timur Iskhodzhanov" <timurrrr at google.com>
написал:

> Hi Sebastian,
>
> ASan/Win has just started growing and only works on very small tests
> without DLLs.
> We'll be researching the intercepting mechanism soon and that's what the
> FIXME is about.
> Suggestions are welcome! :)
>
> Thanks,
> Timur
> 07.02.2012 0:33 пользователь "Sebastian Redl" <
> sebastian.redl at getdesigned.at> написал:
>
>>
>> On 06.02.2012, at 18:56, Kostya Serebryany wrote:
>>
>> > Author: kcc
>> > Date: Mon Feb  6 11:56:38 2012
>> > New Revision: 149875
>> >
>> > URL: http://llvm.org/viewvc/llvm-project?rev=149875&view=rev
>> > Log:
>> > [asan] The first version of Windows malloc interceptors, patch by
>> timurrrr at google.com
>> >
>> > +// FIXME: Simply defining functions with the same signature in *.obj
>> > +// files overrides the standard functions in *.lib
>> > +// This works well for simple helloworld-like tests but might need to
>> be
>> > +// revisited in the future.
>>
>> Do you support mixing non-asan modules (DLLs) with asan modules? I can
>> see trouble there, if a module allocates with native malloc and another
>> frees with asan malloc, or vice versa.
>>
>> Sebastian
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120207/98fcefa7/attachment.html>


More information about the llvm-commits mailing list