This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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]

Re: Malformed phdrs in separated debuginfo


On 02/24/2014 05:54 PM, Mark Wielaard wrote:

>> Is there a reliable way to recognize separate debugging information?
>> Then I could avoid extracting data from phdrs.
>
> I looked a bit into this and I don't see any way to detect that the
> phdrs are invalid, unless you already know this is a separate debuginfo
> file and not a real/valid ELF file.

Could you change the debuginfo extraction to clearly mark the resulting 
ELF files as separate debuginfo?  This would help dealing with this in 
the future.

-- 
Florian Weimer / Red Hat Product Security Team

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