Re: dwarf_begin_elf() won't create handle without .debug_* sections

2018-06-01 Thread Mark Wielaard
On Wed, 2018-05-30 at 17:32 +, Sasha Da Rocha Pinheiro wrote: > I just fixed something interesting in Dyninst. We were assuming that > the FDEs were following the CIE in the eh_frame section, but this is > not correct. I found them mixed in an ARM binary and this caused > wrong parsing.  > So w

Re: dwarf_begin_elf() won't create handle without .debug_* sections

2018-05-30 Thread Sasha Da Rocha Pinheiro
ld like to know about this mixed FDEs possibility. Sasha From: Mark Wielaard Sent: Thursday, May 24, 2018 11:28 AM To: Sasha Da Rocha Pinheiro; elfutils-devel@sourceware.org Subject: Re: dwarf_begin_elf() won't create handle without .debug_* sections   On Wed, 2018-05-23 at 20:09 +, Sas

Re: dwarf_begin_elf() won't create handle without .debug_* sections

2018-05-24 Thread Mark Wielaard
On Wed, 2018-05-23 at 20:09 +, Sasha Da Rocha Pinheiro wrote: > Hi all,  > > I have some binaries that do not have .debug_* sections but have > .eh_frame and .gcc_except_table. > Looking at: > https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdw/dwarf_b > egin_elf.c;hb=144b73c49acf3ed

dwarf_begin_elf() won't create handle without .debug_* sections

2018-05-23 Thread Sasha Da Rocha Pinheiro
Hi all, I have some binaries that do not have .debug_* sections but have .eh_frame and .gcc_except_table. Looking at: https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdw/dwarf_begin_elf.c;hb=144b73c49acf3ed894e4635aedb9b0d1208ade2e#l50 it seems that dwarf_begin_elf() will not create a