This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] readelf: Always initialize .debug_addr unit_length, even without a header.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Fri, 08 Jun 2018 12:09:08 +0200
- Subject: Re: [PATCH] readelf: Always initialize .debug_addr unit_length, even without a header.
- References: <1528233823-449-1-git-send-email-mark@klomp.org>
On Tue, 2018-06-05 at 23:23 +0200, Mark Wielaard wrote:
> We would print a "fake" .debug_addr header, but didn't always setup the
> unit_length (in case there was a mix of GNU DebugFission and DWARF5 tables).
> Make sure to always set the unit_length (we do always calculate the next
> unit offset already).
Pushed to master.