Re: Read .debug_line without .debug_info

2018-03-27 Thread Mark Wielaard
On Mon, 2018-03-26 at 21:24 +0200, Torsten Polle wrote: > > > > Am 26.03.2018 um 21:12 schrieb Mark Wielaard : > > On Mon, Mar 26, 2018 at 04:41:06PM +, Sasha Da Rocha Pinheiro wrote: > > > is it possible to read contents of .debug_line section without the > > > presence of a .debug_info sectio

Re: [PATCH] readelf: Report error when decl_file or call_file attribute is invalid.

2018-03-27 Thread Mark Wielaard
On Tue, 2018-03-20 at 13:33 +0100, Mark Wielaard wrote: > Report an error for why the DW_AT_decl_file or DW_AT_call_file cannot > be resolved to a file name. This is likely invalid DWARF, a missing > DW_AT_stmt_list attribute on the CU or a missing .debug_line section. I pushed this to master with

Re: [PATCH] readelf: Report error when decl_file or call_file attribute is invalid.

2018-03-27 Thread Mark Wielaard
On Tue, 2018-03-27 at 15:42 +0200, Mark Wielaard wrote: > On Tue, 2018-03-20 at 13:33 +0100, Mark Wielaard wrote: > > Report an error for why the DW_AT_decl_file or DW_AT_call_file > > cannot > > be resolved to a file name. This is likely invalid DWARF, a missing > > DW_AT_stmt_list attribute on th