[Dwarf-Discuss] doubt parsing CIE in eh_frame
Nick Clifton
nickc@redhat.com
Wed Jun 1 16:39:02 GMT 2016
Hi David,
> The bug in readelf (I think) is at the end of display_debug_frames() in
> dwarf.c (binutils directory).
>
> The frame_display_row call is a bit odd if all that exist are nops and
> results in the rax output
I am currently testing out the attached patch. I am not sure however if
it is doing the right thing by just silently ignoring DW_CFA_NOPs. Maybe
it should issue an interpretation along the lines of:
LOC CFA ra
0000000000020480 nop -
What do you think ?
Cheers
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwarf.c.patch
Type: text/x-patch
Size: 1362 bytes
Desc: not available
URL: <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/attachments/20160601/c3d63485/attachment.bin>
More information about the Dwarf-discuss
mailing list