mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5723 Corrected regression bug
This commit is contained in:
parent
cc1fea8562
commit
35b67d2d25
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ public class PointerDataType extends BuiltIn implements Pointer {
|
||||||
|
|
||||||
ReferenceManager refMgr = program.getReferenceManager();
|
ReferenceManager refMgr = program.getReferenceManager();
|
||||||
Reference ref = refMgr.getPrimaryReferenceFrom(fromAddr, 0);
|
Reference ref = refMgr.getPrimaryReferenceFrom(fromAddr, 0);
|
||||||
if (ref == null) {
|
if (ref == null || ref.getToAddress().equals(fromAddr)) {
|
||||||
return POINTER_LABEL_PREFIX;
|
return POINTER_LABEL_PREFIX;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue