[COMMITTED] readelf: Use dwarf_form_name for printing (unknown) forms.

2018-01-01 Thread Mark Wielaard
A quick first commit of the year to make (error) output more consistent in readelf: Use dwarf_form_name consistently to print forms. attr_callback was using its own string conversion, print_debug_macro_section was using dwarf_form_string instead of dwarf_form_name. The difference between dwarf_fo

Re: Simpler abbrev parsing using less memory

2018-01-01 Thread Mark Wielaard
On Tue, Dec 26, 2017 at 08:38:38PM +0100, Mark Wielaard wrote: > [PATCH 1/2] libdw: New get_uleb128_unchecked to use with already >checked Dwarf_Abbrev. > > So the first patch introduces a get_uleb128_unchecked function that > is used for re-reading such uleb128 values. > > Th