Ghidra is a software reverse engineering (SRE) framework
GP-3707 corrected RISCV_ElfRelocationContext infinite loop
ghidra19ccc5f9ceea9
diff --git a/Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java b/Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.javaindex caf8234f41..c423f4ed6a 100644--- a/Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java+++ b/Ghidra/Processors/RISCV/src/main/java/ghidra/app/util/bin/format/elf/relocation/RISCV_ElfRelocationContext.java@@ -77,6 +77,7 @@ class RISCV_ElfRelocationContext extends ElfRelocationContext {(type == RISCV_ElfRelocationConstants.R_RISCV_GOT_HI20)) {return relocations[relIndex];}+ ++relIndex;}return null;}