Re: [PATCH] readelf: Print DIE offset in attribute reading error messages.

2017-11-24 Thread Mark Wielaard
On Thu, 2017-11-23 at 09:39 +0100, Dodji Seketeli wrote:
> Indeed, thank you or doing this.  I wish I had these facilities sooner
> when I was tracking the cause of my issues.  So no doubt this work is
> going to be useful.

Thanks. I pushed my second variant to master now.

Cheers,

Mark


Re: [PATCH] libdwfl: Don't dereference possibly unaligned auxv entry pointer from core.

2017-11-24 Thread Mark Wielaard
On Mon, 2017-11-20 at 14:15 +0100, Mark Wielaard wrote:
> The notes in a core file that contain the auxv entries might not be
> naturally aligned. The code already tried to account for that, but
> the GCC 8 undefined behaviour sanitizer found we were till dereferencing
> the actual auxv entry pointer directly. Fix this by calculating all pointers
> by hand and not use an array of auxv entries trick.
> 
> This makes make distcheck (which enables sanitize-undefined by default)
> pass again using GCC8.

Pushed this to master now.