Ero Carrera (ero) <ero carrera gmail com> |
Sunday, May 20 2007 17:09.00 CDT |
Besides some small fixes the new release of pefile is able to report suspicious or malformed entries encountered while parsing. Any time that a non-critical (something that wouldnt prevent the file from running) problem is found its added to a list of warnings that can be retrieved get_warnings() or shown show_warnings()
Example warning messages:
- Suspicious NumberOfRvaAndSizes in the Optional Header. Normal values are never larger than 0x10, the value is: 0xdfffddde
|
- Error parsing the import table. Invalid data at RVA: 0x400000
- Error parsing the Import directory. Invalid Import data at RVA: 0x60
- Error parsing export directory at RVA: 0x6c6c642e
|
|