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: [PATCH] libdw, readelf: Don't handle DW_FORM_data16 as expression block/location.


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.


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