Re: eh_frame is debug info too

2018-09-18 Thread Sasha Da Rocha Pinheiro
Rocha Pinheiro; elfutils-devel@sourceware.org Subject: Re: eh_frame is debug info too   Hi Sasha, On Mon, 2018-09-17 at 21:18 +, Sasha Da Rocha Pinheiro wrote: > So my point is: can we make dwarf_begin_elf() open binaries that only > contain ".eh_frame" to further be able to c

Re: eh_frame is debug info too

2018-09-18 Thread Mark Wielaard
Hi Sasha, On Mon, 2018-09-17 at 21:18 +, Sasha Da Rocha Pinheiro wrote: > So my point is: can we make dwarf_begin_elf() open binaries that only > contain ".eh_frame" to further be able to call dwarf_cfi_addrframe? I see your point and we have been more relax in determining what is or isn't a

eh_frame is debug info too

2018-09-17 Thread Sasha Da Rocha Pinheiro
Hi, I have found a bug in Dyninst related to the fact that dwarf_begin_elf() won't create a (Dwarf *) handle given a stripped binary which contains the section ".eh_frame". This section is sometimes generated to the detriment of ".debug_frames", which is omitted, while all info about frames are