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

Simpler abbrev parsing using less memory

2017-12-26 Thread Mark Wielaard
Hi, When we added bounds checking to almost all data reading functions (commit 7a05347 libdw: Add get_uleb128 and get_sleb128 bounds checking) we also added extra checks to the abbrev reading. But since we didn't really have bounds for the "raw" Dwarf_Abbrev reading functions we just "guessed" the