This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] libdw, readelf: Don't handle DW_FORM_data16 as expression block/location.
- From: Mark Wielaard <mark at klomp dot org>
- To: elfutils-devel at sourceware dot org
- Date: Sun, 17 Jun 2018 20:39:26 +0200
- Subject: Re: [PATCH] libdw, readelf: Don't handle DW_FORM_data16 as expression block/location.
- References: <1529073014-6747-1-git-send-email-mark@klomp.org>
On Fri, Jun 15, 2018 at 04:30:14PM +0200, Mark Wielaard wrote:
> Also found by afl-fuzz on the varlocs testcase.
> DW_FORM_data16 is constant from according to the DWARF5 spec.
> But since it is 128bits it isn't really representable as Dwarf_Word.
> So we treat it as block form. But we cannot treat it as an expression
> block. Make sure readelf prints it as a regular block and that
> dwarf_getlocation[s|_addr] doesn't treat it as location expression.
Pushed to master.