diff options
Diffstat (limited to 'subhook_x86.c')
-rw-r--r-- | subhook_x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subhook_x86.c b/subhook_x86.c index 688fb88..6280bcf 100644 --- a/subhook_x86.c +++ b/subhook_x86.c @@ -117,6 +117,7 @@ static size_t subhook_disasm(void *src, int32_t *reloc_op_offset) { static struct opcode_info opcodes[] = { /* CALL rel32 */ {0xE8, 0, IMM32 | RELOC}, /* CALL r/m32 */ {0xFF, 2, MODRM | REG_OPCODE}, + /* CMP r/m16/32, imm8*/ {0x83, 7, MODRM | REG_OPCODE | IMM8 }, /* JMP rel32 */ {0xE9, 0, IMM32 | RELOC}, /* JMP r/m32 */ {0xFF, 4, MODRM | REG_OPCODE}, /* LEA r32,m */ {0x8D, 0, MODRM}, |