This is the mail archive of the
mailing list for the binutils project.
incomplete symtabs via dl_iterate_phdr?
- From: Thomas KÃhne <thomas at kuehne dot cn>
- To: binutils at sourceware dot org
- Date: Tue, 02 Jan 2007 16:54:59 +0100
- Subject: incomplete symtabs via dl_iterate_phdr?
I am trying to find all global symbols of a programm at runtime
from within that very programm. If I use dl_iterate_phdr
and search the DT_SYMTAB sections the result is incomplete.
That way only 55 symbols are found in libc while
"nm --extern-only --defined-only libc.a" returns 2455 symbols.
Is there any way to get a list of all defined symbols, their names
and addresses at runtime?