Closed GoogleCodeExporter closed 9 years ago
The file seems to be truncated but some of the headers can be parsed correctly.
pefile will always try to parse as much as possible and only fail when it's
impossible for it to make sense of the PE file.
Problems encountered parsing the file are reported as warnings. You could call
"get_warnings()" to retrieve the list and decide to drop the file if you judge
that they indicate the file is corrupted for your application.
In this case there are a few warnings regarding data structures referring to
data beyond the end of the file, those could be telltale signs that it has been
truncated.
Original comment by ero.carr...@gmail.com
on 27 Oct 2014 at 3:45
Original issue reported on code.google.com by
momc...@bojinov.info
on 29 Jan 2014 at 12:12Attachments: