Re: frame unwinding patches

2017-04-03 Thread Milian Wolff
On Thursday, February 16, 2017 12:33:27 AM CEST Mark Wielaard wrote: > Hi, > > I put all three frame pointer unwinding fallback patches on > the mjw/fp-unwind branch. I'll also sent them to the list using > git send-mail --annotate taking out the binary file patches. > Hopefully that will make the

Re: frame unwinding patches

2017-04-03 Thread Ulf Hermann
Ping? Any progress on merging this functionality upstream? It can make quite a difference in unwinding. The patches have also been in perfparser releases for over a year now. I would like to see them upstream. best, Ulf

[Bug libelf/21315] multiple misaligned address errors for Elf64_Shdr

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

[Bug libelf/21315] multiple misaligned address errors for Elf64_Shdr

2017-04-03 Thread ago at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21315 --- Comment #2 from Agostino Sarubbo --- (In reply to Mark Wielaard from comment #1) > Note that in some cases elfutils deliberately does unaligned accesses if it > believes it is safe. See the following in lib/eu-config.h: > > /* Define ALLO

Re: frame unwinding patches

2017-04-03 Thread Mark Wielaard
On Mon, Apr 03, 2017 at 11:02:53AM +0200, Ulf Hermann wrote: > > Ping? Any progress on merging this functionality upstream? > > It can make quite a difference in unwinding. > > The patches have also been in perfparser releases for over a year now. I > would like to see them upstream. Yes, sorry.

Re: frame unwinding patches

2017-04-03 Thread Jan Kratochvil
On Mon, 03 Apr 2017 11:00:03 +0200, Milian Wolff wrote: > I just got a report from a colleague. As-is, elfutils would fail to unwind > from the following location in his application: > > 0x1137ca4 > > With the x86_64 patch applied, he got a proper backtrace: S/he has something wrong with the co

[Bug tools/21299] heap-based buffer overflow in handle_gnu_hash (readelf.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21299 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tools/21300] heap-based buffer overflow in ebl_object_note_type_name (eblobjnotetypename.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21300 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libelf/21301] memory allocation failure in __libelf_decompress

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21301 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libelf/21199] elf_update might "fill" over existing section data

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21199 Mark Wielaard changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tools/21310] eu-elflint: heap-based buffer overflow in check_symtab_shndx (elflint.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21310 --- Comment #2 from Mark Wielaard --- commit 9a0d9d314a6342b56e3277bd7ad7ecb6e73a7d38 Author: Mark Wielaard Date: Mon Mar 27 23:59:02 2017 +0200 elflint: Check symbol table data is big enough before checking. Before checking symbo

[Bug tools/21311] eu-elflint: heap-based buffer overflow in check_sysv_hash (elflint.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21311 --- Comment #2 from Mark Wielaard --- commit 61fe61898747f63eb35a81c2261f3590a3dab8fd Author: Mark Wielaard Date: Tue Mar 28 00:38:52 2017 +0200 elflint: Don't trust sh_entsize when checking hash sections. Calculate and use the ex

[Bug tools/21312] eu-elflint: memory allocation failure in xcalloc (xmalloc.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21312 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tools/21320] eu-elflint: heap-based buffer overflow in check_group (elflint.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21320 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tools/21310] eu-elflint: heap-based buffer overflow in check_symtab_shndx (elflint.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21310 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tools/21311] eu-elflint: heap-based buffer overflow in check_sysv_hash (elflint.c)

2017-04-03 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21311 Mark Wielaard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug general/21011] "may be used uninitialized" error with -Werror=maybe-uninitialized

2017-04-03 Thread luizluca at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21011 --- Comment #6 from Luiz Angelo Daros de Luca --- Mark, I know that both might be a compiler bug. However, the cost of solving them are very low. Yes, I might be compiling elfutils with non-standard options. However, the non-standard might b

[Bug general/21011] "may be used uninitialized" error with -Werror=maybe-uninitialized

2017-04-03 Thread luizluca at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21011 --- Comment #5 from Luiz Angelo Daros de Luca --- Mark, I know that both might be a compiler bug. However, the cost of solving them are very low. Yes, I might be compiling elfutils with non-standard options. However, the non-standard might b

[Bug general/21011] "may be used uninitialized" error with -Werror=maybe-uninitialized

2017-04-03 Thread luizluca at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21011 Luiz Angelo Daros de Luca changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resol