This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/16262] Semantics of dladdr don't quite match documentation
- From: "srk31 at srcf dot ucam.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 09 Dec 2013 16:32:52 +0000
- Subject: [Bug manual/16262] Semantics of dladdr don't quite match documentation
- Auto-submitted: auto-generated
- References: <bug-16262-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16262
--- Comment #2 from Stephen Kell <srk31 at srcf dot ucam.org> ---
Thanks for this.
The man page is a fraction better, but still problematic because it doesn't say
what it means for an address to be "matching", and this still differs quite a
bit between ELF and non-ELF cases.
I've just discovered that the dlsym(3) man page is maintained in the Linux
man-pages project, so I will contribute a patch there.
I would also be interested in contributing a patch to glibc which adds a flag
to dladdr1() for requesting the behaviour I was hoping for, if you think it has
a chance of being applied.
I am familiar with dl_iterate_phdr, but it doesn't do what I want. It iterates
over program headers, whereas I want to iterate over (defined, dynamic)
symbols.
--
You are receiving this mail because:
You are on the CC list for the bug.