mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 915217 - incorrect anaylzing mov [r64+disp], imm32. r=ehsan
This commit is contained in:
parent
59dd43f7ec
commit
9c79e1acb6
@ -481,8 +481,10 @@ protected:
|
||||
}
|
||||
} else if (origBytes[nBytes] == 0xc7) {
|
||||
// MOV r/m64, imm32
|
||||
if ((origBytes[nBytes + 1] & 0xf8) == 0x40) {
|
||||
nBytes += 6;
|
||||
if (origBytes[nBytes + 1] == 0x44) {
|
||||
// MOV [r64+disp8], imm32
|
||||
// ModR/W + SIB + disp8 + imm32
|
||||
nBytes += 8;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user