This is the mail archive of the libc-alpha@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]

dlinfo for the calling shared library


Do we have a supported way to make dlinfo() queries for the shared
library from which the call originates, without the library having to
know its own soname?  (If it knows its own soname, it can call dlopen
on itself, but I'm looking into a scenario where that information is
not available.)

A library can retrieve its own "base address" using dladdr(), but it
is not clear to me whether that is the same thing as the handle
expected by dlsym and dlinfo.

zw


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