mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Fix for Github #336: equates in 16-bit x86
This commit is contained in:
parent
59fb950c79
commit
83e4461b2a
@ -118,8 +118,8 @@ public class DynamicHash {
|
||||
reg = SimpleCRC32.hashOneByte(reg, slot);
|
||||
reg = SimpleCRC32.hashOneByte(reg, transtable[op.getOpcode()]);
|
||||
long val = op.getSeqnum().getTarget().getOffset();
|
||||
int sz = op.getSeqnum().getTarget().getPointerSize();
|
||||
for (int i = 0; i < sz; ++i) {
|
||||
int sz = op.getSeqnum().getTarget().getSize();
|
||||
for (int i = 0; i < sz; i += 8) {
|
||||
reg = SimpleCRC32.hashOneByte(reg, (int) val);
|
||||
val >>= 8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user