Re: Dwarf_FDE (libdw)

2017-07-15 Thread Mark Wielaard
On Sat, Jul 15, 2017 at 01:00:04AM +, Sasha Da Rocha Pinheiro wrote: > I did not understand how to get the augmentation_data of a FDE. > Could anyone explain me? Dwarf_FDE is really low level. It might be easier to use a Dwarf_CFI to get a Dwarf_Frame to extract the information. You get a Dwa

Re: File index given line (libdw)

2017-07-15 Thread Mark Wielaard
On Sat, 2017-07-15 at 01:22 +, Sasha Da Rocha Pinheiro wrote: > >But why do you want to do that? > > Performance and save memory space. > > >If we would add int dwarf_line_index (Dwarf_Line *line, size_t *idx) how > >exactly would you use it? > > I would get idx and save it in my data struct