ix86_instruction_skip: x86_64: handle address size prefix

(cherry picked from commit 05b3236afd71886826d6e4784ca4e708f67aaa80)
This commit is contained in:
rakslice 2020-10-08 21:53:41 -07:00
parent 0d213f9d00
commit e00c6f2091

View File

@ -1018,6 +1018,16 @@ static bool ix86_skip_instruction(SIGSEGV_REGISTER_TYPE * regs)
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
#if defined(__x86_64__) || defined(_M_X64)
struct rex_t {