Ghidra is a software reverse engineering (SRE) framework
Fixed a typo in the section header type check.
Andrew Briggs3f6ca959968c
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.javaindex 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) {