COFFObjectFile ignore broken symbol table
Bandzi Michal via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 28 04:46:41 PDT 2016
Hello,
When binaries are compressed by UPX, information about symbol table
offset and symbol count remain unchanged (but became invalid due to
compression). This causes failure in constructor and rest of the
binary cannot be processed.
In proposed patch (attachment), when symbol table initialization
fails, constructor does not return error, but rather resets symbol
related information (symbol/string table pointers, sizes) - this
should disable related iterators and function while rest of the binary
can be processed.
Michal Bandzi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: invalid_symbol_table.diff
Type: text/x-patch
Size: 1338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160728/6a28a784/attachment.bin>
More information about the llvm-commits
mailing list