mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
Merge pull request #183 from phcoder/master
sigsegv.cpp: Add addr32 decode
This commit is contained in:
commit
9a3bd0b258
@ -1018,6 +1018,14 @@ static bool ix86_skip_instruction(SIGSEGV_REGISTER_TYPE * regs)
|
|||||||
transfer_size = SIZE_WORD;
|
transfer_size = SIZE_WORD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__x86_64__) || defined(_M_X64)
|
||||||
|
// addr32
|
||||||
|
if (*eip == 0x67) {
|
||||||
|
eip++;
|
||||||
|
len++;
|
||||||
|
}
|
||||||
|
#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…
x
Reference in New Issue
Block a user