|
From: Tom H. <to...@co...> - 2005-08-11 09:51:19
|
In message <942...@ha...>
Meir Yeshurun <mei...@in...> wrote:
> I am trying to redirect an STL port allocator (_STL::__node_alloc<true,
> 0>::allocate) to the same function that malloc is redirected to. I
> updated the functions and structures involved in the redirection
> mechanism.
Why are you trying to do that? It sounds like quite an odd thing to do?
> 29764-- REDIR sym to addr:
> soname:libstlport_gcc*:_ZN4_STL12__node_allocILb1ELi0EE8allocateEm to
> 0x140281D1E0
So the redirect is installed (but not resolved yet). The redirect is
from a library with an soname matching libstlport_gcc*.
> --29764-- Just loaded
> /nfs/proj/dt/sc13/x86-64_linux26/STLport/4.5.2_64/lib/libstlport_gcc.so.
> 4.5 (soname=(null)),
>
> --29764-- resolving any unresolved redirs with it
>
> --29764-- Finished resolving
Now you loaded a library with no soname so the redirect won't match
and (as expected) we don't see any resolutions.
> Does this mean the redirection was successful?
No - you would see a "redir resolved" message if it was.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|