mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-23 04:30:10 +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;
|
||||
}
|
||||
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
// addr32
|
||||
if (*eip == 0x67) {
|
||||
eip++;
|
||||
len++;
|
||||
}
|
||||
#endif
|
||||
|
||||
// REX prefix
|
||||
#if defined(__x86_64__) || defined(_M_X64)
|
||||
struct rex_t {
|
||||
|
Loading…
Reference in New Issue
Block a user