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

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

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

2018-03-20 Thread Mark Wielaard
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. Signed-off-by: Mark Wielaard --- src/ChangeLog | 5 + src/readelf.c | 18 ++