mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
Corrected NPE in decompiler.
Reference overrides must ignore external references.
This commit is contained in:
parent
e6cbefc706
commit
2d144fb457
2 changed files with 4 additions and 2 deletions
|
@ -47,7 +47,7 @@ public class InstructionPcodeOverride implements PcodeOverride {
|
|||
|
||||
primaryOverridingReferences = new ArrayList<>();
|
||||
for (Reference ref : instr.getReferencesFrom()) {
|
||||
if (!ref.isPrimary()) {
|
||||
if (!ref.isPrimary() || !ref.getToAddress().isMemoryAddress()) {
|
||||
continue;
|
||||
}
|
||||
RefType type = ref.getReferenceType();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue