GP-1352 Correct various issues with ELF Android relocation markup. Add

missing support for ELF Arm32 RELR relocations.
This commit is contained in:
ghidra1
2021-09-30 19:46:34 -04:00
parent a79d2578a9
commit 8bcc80afda
5 changed files with 60 additions and 37 deletions

View File

@@ -29,6 +29,11 @@ public class ARM_ElfRelocationHandler extends ElfRelocationHandler {
return elf.e_machine() == ElfConstants.EM_ARM;
}
@Override
public int getRelrRelocationType() {
return ARM_ElfRelocationConstants.R_ARM_RELATIVE;
}
@Override
public void relocate(ElfRelocationContext elfRelocationContext, ElfRelocation relocation,
Address relocationAddress) throws MemoryAccessException, NotFoundException {