[PATCH BZ#20422] Do not allow asan/msan/tsan and fortify at the same time.
Kostya Serebryany
kcc@google.com
Mon Sep 12 18:54:00 GMT 2016
On Mon, Sep 12, 2016 at 2:30 AM, Florian Weimer <fweimer@redhat.com> wrote:
> On 09/10/2016 12:36 AM, Kostya Serebryany wrote:
>>>
>>> I thought we should compile everything except Glibc, no? Compiling Glibc
>>> with MSan would be tricky, that's why it needs interceptors.
>>
>>
>> Correct.
>
>
> Why? Large parts of glibc are just another library and not that low-level.
[re-sending in plain text]
I don't say the current situation is ideal.
It is as it is because we simply can't build Glibc with clang and msan today.
>
> Sure, it is quite a bit of work to disentangle the low-level bits from those
> that can be instrumented, but so is writing correct interceptors which
> actually follow glibc behavior and are not merely approximation of the core
> functionality. (I'm not talking about memset, but high-level things like
> getpwuid or glob.)
>
> Florian
>
More information about the Libc-alpha
mailing list