When searching for global public symbols (like for the somalloc

synonym symbols), exclude the dynamic (runtime) linker as it is very
special.
Fixes BZ#355454


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15728
This commit is contained in:
Ivo Raisr
2015-11-18 20:38:37 +00:00
parent 68c788c973
commit 0d30686d21
5 changed files with 50 additions and 22 deletions

View File

@@ -2322,7 +2322,7 @@ need to use them.</para>
own versions. Such replacements are normally done only in shared
libraries whose soname matches a predefined soname pattern (e.g.
<varname>libc.so*</varname> on linux). By default, no
replacement is done for a statically linked library or for
replacement is done for a statically linked binary or for
alternative libraries, except for the allocation functions
(malloc, free, calloc, memalign, realloc, operator new, operator
delete, etc.) Such allocation functions are intercepted by
@@ -2392,6 +2392,13 @@ need to use them.</para>
</para>
</listitem>
<listitem>
<para>Shared library of the dynamic (runtime) linker is excluded from
searching for global public symbols, such as those for the malloc
related functions (identified by <varname>somalloc</varname> synonym).
</para>
</listitem>
</itemizedlist>
</listitem>
</varlistentry>