mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-3508 Fix for calcHash methods 5 and 6
This commit is contained in:
parent
aa2ac78dc3
commit
050d3018c8
2 changed files with 10 additions and 0 deletions
|
@ -236,6 +236,8 @@ void DynamicHash::calcHash(const PcodeOp *op,int4 slot,uint4 method)
|
|||
buildOpUp(markop[opproc]);
|
||||
}
|
||||
gatherUnmarkedVn();
|
||||
for(;vnproc<markvn.size();++vnproc)
|
||||
buildVnUp(markvn[vnproc]);
|
||||
break;
|
||||
case 6:
|
||||
gatherUnmarkedOp();
|
||||
|
@ -243,6 +245,8 @@ void DynamicHash::calcHash(const PcodeOp *op,int4 slot,uint4 method)
|
|||
buildOpDown(markop[opproc]);
|
||||
}
|
||||
gatherUnmarkedVn();
|
||||
for(;vnproc<markvn.size();++vnproc)
|
||||
buildVnDown(markvn[vnproc]);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -294,6 +294,9 @@ public class DynamicHash {
|
|||
buildOpUp(markop.get(opproc));
|
||||
}
|
||||
gatherUnmarkedVn();
|
||||
for (; vnproc < markvn.size(); ++vnproc) {
|
||||
buildVnUp(markvn.get(vnproc));
|
||||
}
|
||||
break;
|
||||
case 6:
|
||||
gatherUnmarkedOp();
|
||||
|
@ -301,6 +304,9 @@ public class DynamicHash {
|
|||
buildOpDown(markop.get(opproc));
|
||||
}
|
||||
gatherUnmarkedVn();
|
||||
for (; vnproc < markvn.size(); ++vnproc) {
|
||||
buildVnDown(markvn.get(vnproc));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue