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 dynamic-link/22101] Dynamic loader must ignore "debug" shared objects e.g. ET_GNU_DEBUG_*


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.

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