Re: [PATCH] libdwfl: Use process_vm_readv when available.

2018-03-28 Thread Mark Wielaard
On Tue, 2018-03-20 at 23:32 +0100, Mark Wielaard wrote: > On Sun, Mar 18, 2018 at 01:43:23AM +0100, Mark Wielaard wrote: > > If possible use process_vm_readv to read 4K blocks instead of fetching > > each word individually with ptrace. For unwinding this often means we > > only have to do one proce

[Bug tools/23011] New: Infinite loop in handle_sysv_hash (src/readelf.c)

2018-03-28 Thread traceprobe at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23011 Bug ID: 23011 Summary: Infinite loop in handle_sysv_hash (src/readelf.c) Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2

[Bug tools/23011] Infinite loop in handle_sysv_hash (src/readelf.c)

2018-03-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23011 Mark Wielaard changed: What|Removed |Added CC||mark at klomp dot org --- Comment #1

[Bug tools/23011] Infinite loop in handle_sysv_hash (src/readelf.c)

2018-03-28 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=23011 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[PATCH] readelf: Break sysv[64] symbol hash bucket chain loops.

2018-03-28 Thread Mark Wielaard
The bucket chain should not contain loops. If it does we should mark the hash bucket chain as invalid. This is easily checked by noticing when we have seen more than the number of chain elements. Which equals the max number as symbols in the table. https://sourceware.org/bugzilla/show_bug.cgi?id=2

Re: [PATCH] libdwfl: Use process_vm_readv when available.

2018-03-28 Thread Dmitry V. Levin
On Wed, Mar 28, 2018 at 04:33:26PM +0200, Mark Wielaard wrote: > On Tue, 2018-03-20 at 23:32 +0100, Mark Wielaard wrote: > > On Sun, Mar 18, 2018 at 01:43:23AM +0100, Mark Wielaard wrote: > > > If possible use process_vm_readv to read 4K blocks instead of fetching > > > each word individually with