From 3556277f24230a253ea3f93135dee3746b258b69 Mon Sep 17 00:00:00 2001 From: gtackett Date: Sun, 6 Oct 2024 23:17:15 -0400 Subject: [PATCH] Update Omf51ModuleHeader.java TRN ID and padding bytes were reversed --- .../ghidra/app/util/bin/format/omf/omf51/Omf51ModuleHeader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf51/Omf51ModuleHeader.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf51/Omf51ModuleHeader.java index 47afe0072c..60e86262d2 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf51/Omf51ModuleHeader.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf51/Omf51ModuleHeader.java @@ -57,8 +57,8 @@ public class Omf51ModuleHeader extends OmfRecord { struct.add(BYTE, "type", null); struct.add(WORD, "length", null); struct.add(moduleName.toDataType(), "name", null); - struct.add(BYTE, "padding", null); struct.add(BYTE, "TRN ID", null); + struct.add(BYTE, "padding", null); struct.add(BYTE, "checksum", null); struct.setCategoryPath(new CategoryPath(OmfUtils.CATEGORY_PATH));