Re: [PATCH 2/2] readelf: Turn format_print_dwarf into print_dwarf_addr.

2018-06-09 Thread Mark Wielaard
On Thu, 2018-06-07 at 23:44 +0200, Mark Wielaard wrote: > We don't really need to setup a buffer, print into it and then print it > out to stdout. Simplify the code by directly printing the address (and > symbol name). Pushed to master, including a description of the other little change in it:   

Re: [PATCH 1/2] libdw: Make sure that address_size and offset_size are 4 or 8 bytes.

2018-06-09 Thread Mark Wielaard
On Thu, 2018-06-07 at 23:44 +0200, Mark Wielaard wrote: > When interning a CU make sure that address_size and offset_size are > either 4 or 8 bytes. We really don't (want to) handle any other size. Pushed to master.

Re: [PATCH] libdw: Check DIE address fall inside the CU before reading abbrev code.

2018-06-09 Thread Mark Wielaard
On Thu, 2018-06-07 at 20:50 +0200, Mark Wielaard wrote: > The afl fuzzer found a case where we tried reading an uleb for the DIE > abbrev code without properly checking the DIE address is inside the CU. Pushed to master.