Skip to content

Commit 3f6ca95

Browse files
committed
Fixed a typo in the section header type check.
1 parent fdc2511 commit 3f6ca95

File tree

1 file changed

+1
-1
lines changed
  • Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf

1 file changed

+1
-1
lines changed

Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/elf/ElfHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ private void parseSectionBasedRelocationTable(ElfSectionHeader section,
399399
section, section.getOffset(), section.getAddress(), section.getSize(),
400400
section.getEntrySize(), addendTypeReloc, symbolTable, sectionToBeRelocated));
401401
}
402-
else if (sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_RELA ||
402+
else if (sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_REL ||
403403
sectionHeaderType == ElfSectionHeaderConstants.SHT_ANDROID_RELA) {
404404

405405
for (ElfRelocationTable relocTable : relocationTableList) {

0 commit comments

Comments
 (0)