This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dladdr alternative for static "t" symbols?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]