dladdr alternative for static "t" symbols?
Carlos O'Donell
carlos@systemhalted.org
Tue Aug 11 18:41:00 GMT 2009
On Tue, Aug 11, 2009 at 2:28 PM, Brendan Miller<catphive@catphive.net> wrote:
> Hmm... I guess if I had a library that could parse the ELF binary, I
> could pull all the static symbols out and put them into a map, doing
> the parsing work upfront when my various binaries launch, then the
> symbol lookup could be efficient enough to do when throwing an
> exception.
Use libelf.
http://directory.fsf.org/project/libelf/
Cheers,
Carlos.
More information about the Libc-help
mailing list