mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 21:09:49 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user