mirror of
https://github.com/Karmaz95/Snake_Apple.git
synced 2026-10-01 00:09:34 +02:00
lief update - bug patch
This commit is contained in:
1 parent
785036bd0d
commit
e6d501dfe1
1 file changed
+1
-1
@@ -29,7 +29,7 @@ class MachOFileFinder:
|
|||||||
binaries = lief.MachO.parse(file_path)
|
binaries = lief.MachO.parse(file_path)
|
||||||
binary = self.parse_fat_binary(binaries)
|
binary = self.parse_fat_binary(binaries)
|
||||||
if binary is not None:
|
if binary is not None:
|
||||||
print(f"{binary.header.file_type.name}:{file_path}")
|
print(f"{binary.header.file_type.__name__}:{file_path}")
|
||||||
except:
|
except:
|
||||||
pass # Ignore parsing errors or non-Mach-O files
|
pass # Ignore parsing errors or non-Mach-O files
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user