We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06e93ce commit 2007ea6Copy full SHA for 2007ea6
dissect/executable/pe/directory/exception.py
@@ -60,7 +60,7 @@ def entries(
60
"""List of exception entries."""
61
self.pe.vfh.seek(self.address)
62
63
- machine = self.pe.file_header.Machine
+ machine = self.pe.machine
64
if machine in (c_pe.IMAGE_FILE_MACHINE.ARM, c_pe.IMAGE_FILE_MACHINE.THUMB, c_pe.IMAGE_FILE_MACHINE.ARMNT):
65
ctype = c_pe.IMAGE_ARM_RUNTIME_FUNCTION_ENTRY
66
elif machine == c_pe.IMAGE_FILE_MACHINE.ARM64:
0 commit comments