1. Victor Stinner
  2. hachoir

Commits

haypo  committed 7168c4b

EXE: disable test of pe_offset

  • Participants
  • Parent commits 0d3c128
  • Branches default

Comments (0)

Files changed (1)

File hachoir-parser/hachoir_parser/program/exe.py

View file
             return "Invalid value of checksum"
 #        if not(0 < self["init_ss_sp"].value < 0x4fffffff):
 #            return "Invalid value of init_ss_sp"
-        if 1024 < self["pe_offset"].value:
-            return "Invalid value of pe_offset"
+#        if 1024 < self["pe_offset"].value:
+#            return "Invalid value of pe_offset"
         return ""
 
 class SectionHeader(FieldSet):