Re: [PATCH] libdw: Break long or circular DIE ref chains in dwarf_[has]attr_integrate.

2018-06-11 Thread Mark Wielaard
On Sun, 2018-06-10 at 17:01 +0200, Mark Wielaard wrote: > Bad DWARF could create a very long or circular DIE ref chain by linking > DW_AT_abstract_origin or DW_AT_specification to the DIE itself. Break > the chain after seeing a large number (16) of DIEs. Pushed to master.

[PATCH] libdw: Break long or circular DIE ref chains in dwarf_[has]attr_integrate.

2018-06-10 Thread Mark Wielaard
Bad DWARF could create a very long or circular DIE ref chain by linking DW_AT_abstract_origin or DW_AT_specification to the DIE itself. Break the chain after seeing a large number (16) of DIEs. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 6 ++ libdw/dwarf_attr_integrat