On Thu, Oct 25, 2012 at 9:39 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Thu, Oct 25, 2012 at 09:24:51AM -0700, Xinliang David Li wrote:
>> To accommodate tsan (and msan in the future), the directory structure
>> needs to be changed. The top level directory can be called something
>> like librt with the following subdirs: asan, tsan, sanitizer_common,
>> and interception.  Also the libasan should be linked in statically by
>> default.
>
> librt is a very bad name, that clashes with glibc librt, would only create
> confusion.

Ok, then we should pick something that is not confusing but reflect
the fact  they are for runtime error checking ..

>
> Why should be libasan linked statically by default?
>

There are a couple of reasons:

1) it makes running sanitized binary on remote machines which does not
have libasan installed easier;
2) There is no guarantee that libasan API won't change, statically
linking it in makes it less vulnerable to such changes.

thanks,

David

>         Jakub

Reply via email to