|
From: Tom H. <to...@co...> - 2005-11-15 17:59:34
|
In message <200...@gm...>
Josef Weidendorfer <Jos...@gm...> wrote:
> and bb->sect_kind is set by VG_(seginfo_sect_kind)(addr)
I don't see how bb->sect_kind is supposed to work - it will work if
you call it on the right SegInfo, but if you look up a GOT address
you're not likely to find the SegInfo...
I wonder if the ifdefed out code at the end of read_lib_symbols
has something to do with this - that looks like it is trying to
find other mappings and extend the SegInfo to cover them.
> > Which objdump/nm option? static or dynamic symbol table? or both?
>
> % nm /lib/tls/libpthread-2.3.5.so | grep 4500
> 00004500 t _init
>
> Ie. static. It is not found in the dynamic one.
Hmm. Well we definitely read both so that should be find.
I wonder if the address appears to be outside the mapping that
valgrind has associated the SegInfo with.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|