GP-302 corrected issue affected ELF PLTGOT bounds determination.

Corrected various pointer and data related issues
This commit is contained in:
ghidra1
2020-10-23 18:57:11 -04:00
parent 1c145dd781
commit 6107f29a95
6 changed files with 105 additions and 53 deletions

View File

@@ -368,6 +368,9 @@ public class PowerPC64_ElfExtension extends ElfExtension {
return null;
}
ElfDefaultGotPltMarkup.setConstant(refPtr);
ElfDefaultGotPltMarkup.setConstant(tocPtr);
Function function = program.getListing().getFunctionAt(refAddr);
if (function == null) {
// Check for potential pointer table (unsure a non-function would be referenced by OPD section)