mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +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]);
|
buildOpUp(markop[opproc]);
|
||||||
}
|
}
|
||||||
gatherUnmarkedVn();
|
gatherUnmarkedVn();
|
||||||
|
for(;vnproc<markvn.size();++vnproc)
|
||||||
|
buildVnUp(markvn[vnproc]);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
gatherUnmarkedOp();
|
gatherUnmarkedOp();
|
||||||
|
@ -243,6 +245,8 @@ void DynamicHash::calcHash(const PcodeOp *op,int4 slot,uint4 method)
|
||||||
buildOpDown(markop[opproc]);
|
buildOpDown(markop[opproc]);
|
||||||
}
|
}
|
||||||
gatherUnmarkedVn();
|
gatherUnmarkedVn();
|
||||||
|
for(;vnproc<markvn.size();++vnproc)
|
||||||
|
buildVnDown(markvn[vnproc]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -294,6 +294,9 @@ public class DynamicHash {
|
||||||
buildOpUp(markop.get(opproc));
|
buildOpUp(markop.get(opproc));
|
||||||
}
|
}
|
||||||
gatherUnmarkedVn();
|
gatherUnmarkedVn();
|
||||||
|
for (; vnproc < markvn.size(); ++vnproc) {
|
||||||
|
buildVnUp(markvn.get(vnproc));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
gatherUnmarkedOp();
|
gatherUnmarkedOp();
|
||||||
|
@ -301,6 +304,9 @@ public class DynamicHash {
|
||||||
buildOpDown(markop.get(opproc));
|
buildOpDown(markop.get(opproc));
|
||||||
}
|
}
|
||||||
gatherUnmarkedVn();
|
gatherUnmarkedVn();
|
||||||
|
for (; vnproc < markvn.size(); ++vnproc) {
|
||||||
|
buildVnDown(markvn.get(vnproc));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue