This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/22101] Dynamic loader must ignore "debug" shared objects e.g. ET_GNU_DEBUG_*
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 28 Feb 2018 12:41:19 +0000
- Subject: [Bug dynamic-link/22101] Dynamic loader must ignore "debug" shared objects e.g. ET_GNU_DEBUG_*
- Auto-submitted: auto-generated
- References: <bug-22101-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22101
--- Comment #11 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to José Bollo from comment #10)
> (In reply to Andreas Schwab from comment #6)
> > > Does it means that dlopen is authorized to crash (SIGSEGV)?
> >
> > Yes, because you allow it to run arbitrary code.
>
> That is a problem in fact: how to dlopen a library to just inspect its
> content? There is no option to avoid calls to constructors/destructors and
> IMHO it's really missing.
You can use libelf from elfutils for that, or BFD from binutils.
--
You are receiving this mail because:
You are on the CC list for the bug.