mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-25 02:33:09 +00:00
ix86_instruction_skip: x86_64: handle address size prefix
(cherry picked from commit 05b3236afd71886826d6e4784ca4e708f67aaa80)
This commit is contained in:
parent
0d213f9d00
commit
e00c6f2091
@ -1018,6 +1018,16 @@ static bool ix86_skip_instruction(SIGSEGV_REGISTER_TYPE * regs)
|
|||||||
transfer_size = SIZE_WORD;
|
transfer_size = SIZE_WORD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__x86_64__) || defined(_M_X64)
|
||||||
|
bool x86_64_address_32 = false;
|
||||||
|
if (*eip == 0x67) {
|
||||||
|
eip++;
|
||||||
|
len++;
|
||||||
|
x86_64_address_32 = true;
|
||||||
|
}
|
||||||
|
// FIXME do something with this
|
||||||
|
#endif
|
||||||
|
|
||||||
// REX prefix
|
// REX prefix
|
||||||
#if defined(__x86_64__) || defined(_M_X64)
|
#if defined(__x86_64__) || defined(_M_X64)
|
||||||
struct rex_t {
|
struct rex_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user