Merge pull request #183 from phcoder/master

sigsegv.cpp: Add addr32 decode
This commit is contained in:
asvitkine 2019-04-05 01:12:11 -04:00 committed by GitHub
commit 9a3bd0b258
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {