Closed strixcode closed 8 years ago
jose dot r dot fonseca at gmail dot com
For the record, @strixcode 's executable was truncated. It would load but any attempt to read symbol information would fail because the symbol and string table were incomplete/gone. Not even MinGW's gdb/objdump could do anything with it without crashing.
According to @strixcode the truncated executable was the doing of Microsoft MT tool, when trying to attach a manifest.
I couldn't find on the web reports of Microsoft MT corrupting MinGW's executables, but there are several resources explaining how to embedded a manifest using MinGW's windres resource compiler.
I found 2 bugs in 0.7.6 code that cause crash when generating the report for my executable.
First is in dwarf_pe.c in function pe_get_section_info() line 69:
Second one is mgwhelp.c in function pe_find_symbol():
I will send the executable by private email message so you can reproduce.