This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH BZ#20422] Do not allow asan/msan/tsan and fortify at the same time.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Kostya Serebryany <kcc at google dot com>, Maxim Ostapenko <m dot ostapenko at samsung dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Yuri Gribov <tetra2005 at gmail dot com>
- Date: Mon, 12 Sep 2016 11:30:53 +0200
- Subject: Re: [PATCH BZ#20422] Do not allow asan/msan/tsan and fortify at the same time.
- Authentication-results: sourceware.org; auth=none
- References: <57CDAB08.firstname.lastname@example.org> <email@example.com> <57CE8965.firstname.lastname@example.org> <CAN=P9phHJekS9DE9tqOfRLkccj7aOtVXqnpjcf1dFSsk52pu0A@mail.gmail.com>
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.
Why? Large parts of glibc are just another library and not that low-level.
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.)