mahaloz/decomp2dbg

invalid string offset for section `.strtab'

caprinux opened this issue · 6 comments

When connecting GEF to the decompiler, gdb fails to add-symbol-file and throws an error.

BFD: /tmp/tmp3pmay68f.c.debug: invalid string offset 16777215 >= 282 for section '.strtab'

Although this does not break decomp2gef, it causes the debugger to be without a symbol file and hence renders some features unusable.

Sample binary with this behavior:
sample_program.zip

Without full triage, I think this may be related to #15. Will resolve #15 first then circle back to this.

So it appears that this issue has reappeared even with your patch on x64 binaries now

On main BFD: /tmp/tmpdyamth15.c.debug: invalid string offset 16777215 >= 3280 for section .strtab'` is now back for beanstalk binary... and objdump for reference. @caprinux

@mahaloz That's weird, I can't seem to reproduce this from the decomp2gef master branch. Beanstalk works perfectly fine for me... Any steps to reproduce or any clues I can work off?

@caprinux turns out I goofed. Let's finish up #21, then close.

closed by #21