diff --git a/uefi_firmware/structs/uefi_structs.py b/uefi_firmware/structs/uefi_structs.py index 29a7897..c3ef238 100644 --- a/uefi_firmware/structs/uefi_structs.py +++ b/uefi_firmware/structs/uefi_structs.py @@ -73,7 +73,7 @@ 0x12: ("Terse executable (TE)", "te", "TE"), 0x13: ("DXE dependency expression", "dxe.depex", "DXE_DEPEX"), # Added from previous code (not in Phoenix spec - 0x14: ("Version section", "version", "VERSION"), + 0x14: ("Version", "version", "VERSION"), 0x15: ("User interface name", "ui", "UI"), 0x16: ("IA-32 16-bit image", "ia32.16bit", "COMPAT16"), diff --git a/uefi_firmware/uefi.py b/uefi_firmware/uefi.py index 2605cd0..7cf435e 100644 --- a/uefi_firmware/uefi.py +++ b/uefi_firmware/uefi.py @@ -806,7 +806,8 @@ def process(self): self.parsed_object = guid_defined elif self.type == 0x14: # version string - self.name = uefi_name(self.data) + self.build_number = struct.unpack("