From 3f6ca959968c45cb7b3246aaba237da59802c2a1 Mon Sep 17 00:00:00 2001 From: Andrew Briggs Date: Wed, 23 Oct 2019 15:29:22 +0100 Subject: [PATCH] Fixed a typo in the section header type check. --- .../src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java index d83dc687de..8dc703d047 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java @@ -399,7 +399,7 @@ public class ElfHeader implements StructConverter, Writeable { section, section.getOffset(), section.getAddress(), section.getSize(), section.getEntrySize(), addendTypeReloc, symbolTable, sectionToBeRelocated)); } - else if (sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_RELA || + else if (sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_REL || sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_RELA) { for (ElfRelocationTable relocTable : relocationTableList) {