https://sourceware.org/bugzilla/show_bug.cgi?id=28032
Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |mark at klomp dot org Resolution|--- |FIXED --- Comment #1 from Mark Wielaard <mark at klomp dot org> --- (In reply to vifoxa2454 from comment #0) > I believe that the bug is that the tool stops at this point instead of > continuing with the next table. > > The problematic code (in src/readelf.c taken from version 0.185): > > if (linep == lineendp) > { > puts (_("\nNo line number statements.")); > return; > } > > > If I comment out that block the tool work again for our use case. You are right, that return should have been a continue statement. I fixed it and added a testcase for this: commit 6648d378bd94f50b455a8550db5f43ef3690b451 Author: Mark Wielaard <m...@klomp.org> Date: Sun Jul 4 00:08:32 2021 +0200 readelf: Handle line tables without line number statements correctly When we see a line table without line number statements we need to continue with the next table. Add a testcase for this situation. https://sourceware.org/bugzilla/show_bug.cgi?id=28032 Signed-off-by: Mark Wielaard <m...@klomp.org> -- You are receiving this mail because: You are on the CC list for the bug.