mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch 'origin/GT-2959_dragonmacher_PR-677_NicolaasWeideman_varnode_ast_equals'
This commit is contained in:
commit
1003286382
1 changed files with 6 additions and 2 deletions
|
@ -222,8 +222,12 @@ public class VarnodeAST extends Varnode {
|
|||
return false;
|
||||
if (isInput() != vn.isInput())
|
||||
return false;
|
||||
if (def != null)
|
||||
return (def.getSeqnum() == vn.getDef().getSeqnum());
|
||||
if (def != null) {
|
||||
PcodeOp vnDef = vn.getDef();
|
||||
if (vnDef == null)
|
||||
return false;
|
||||
return (def.getSeqnum().equals(vnDef.getSeqnum()));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue