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

[Bug manual/16262] Semantics of dladdr don't quite match documentation


https://sourceware.org/bugzilla/show_bug.cgi?id=16262

Ondrej Bilka <neleai at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtk.manpages at gmail dot com,
                   |                            |neleai at seznam dot cz,
                   |                            |roland at gnu dot org
          Component|dynamic-link                |manual

--- Comment #1 from Ondrej Bilka <neleai at seznam dot cz> ---
That is a documentation bug, manpage is bit clearer by saying that 

If no symbol matching addr could be found, then dli_sname and dli_saddr are set
to NULL.

Could you provide patch with clarification?

Also did you try to use dl_iterate_phdr?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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