This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Malformed phdrs in separated debuginfo
- From: Florian Weimer <fweimer at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Tue, 25 Feb 2014 10:43:15 +0100
- Subject: 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