[PATCH] libdw, readelf: Don't handle DW_FORM_data16 as expression block/location.

Mark Wielaard mark@klomp.org
Sun Jun 17 18:39:00 GMT 2018


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.



More information about the Elfutils-devel mailing list