From: Josef W. <Jos...@gm...> - 2003-04-16 21:25:32
|
Hi, there is a problem with the reading of symbol table information: we currently read only one of "symtab" or "dynsym" section, whatever comes last in the ELF section list of a file. I thought intended behaviour was to fallback to dynsym only if symtab isn't available (as the comment says, too). Neverless, I think both tables should be read in. I have a library here (libfam.so on Suse 8.0), where the regular symtab holds only a few exported symbols (a C API), but the language is C++. Thus, the "dynsym" section contains a *lot* more symbols, especially "__builtin_new", too. As libfam.so is loaded first of all C++ library for any QT/KDE program here, every C++ object creation will call "__builtin_new" from libfam.so. Unfortunately, only symbols in "symtab" are loaded by Valgrind, so I only see "???" instead of "__builtin_new". Is there a problem when loading both tables with same symbols? Otherwise, I suggest a change... Josef |