diff --git a/pefile.py b/pefile.py index f804678..04a76a1 100644 --- a/pefile.py +++ b/pefile.py @@ -3717,16 +3717,16 @@ def parse_data_directories( """ directory_parsing = ( - ("IMAGE_DIRECTORY_ENTRY_IMPORT", self.parse_import_directory), ("IMAGE_DIRECTORY_ENTRY_EXPORT", self.parse_export_directory), + ("IMAGE_DIRECTORY_ENTRY_IMPORT", self.parse_import_directory), ("IMAGE_DIRECTORY_ENTRY_RESOURCE", self.parse_resources_directory), - ("IMAGE_DIRECTORY_ENTRY_DEBUG", self.parse_debug_directory), + ("IMAGE_DIRECTORY_ENTRY_EXCEPTION", self.parse_exceptions_directory), ("IMAGE_DIRECTORY_ENTRY_BASERELOC", self.parse_relocations_directory), + ("IMAGE_DIRECTORY_ENTRY_DEBUG", self.parse_debug_directory), ("IMAGE_DIRECTORY_ENTRY_TLS", self.parse_directory_tls), ("IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG", self.parse_directory_load_config), - ("IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", self.parse_delay_import_directory), ("IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT", self.parse_directory_bound_imports), - ("IMAGE_DIRECTORY_ENTRY_EXCEPTION", self.parse_exceptions_directory), + ("IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT", self.parse_delay_import_directory), ) if directories is not None: