mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 915217 - incorrect anaylzing mov [r64+disp], imm32. r=ehsan
This commit is contained in:
parent
776635e01b
commit
8b5ebd61c4
@ -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