refactor: small SuperPe improvements

This commit is contained in:
Dobin
2024-04-13 11:12:43 +01:00
parent f40d527783
commit b9d3a5a97e
3 changed files with 51 additions and 62 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class ExeHost():
logger.info("--[ Analyzing: {}".format(self.filepath))
self.superpe = SuperPe(self.filepath)
if self.superpe.arch != "x64":
if not self.superpe.is_64():
raise Exception("Binary is not 64bit: {}".format(self.filepath))
self.ep = self.superpe.get_entrypoint()