diff options
author | Anton <anton@whom.ru> | 2017-02-07 02:14:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 02:14:20 +0300 |
commit | 5607ef9f91d543e30d0510b8fe1eb05f2596582e (patch) | |
tree | bdbef50cf2d34b440168e37eea3c3a7a1384c359 /subhook_x86.c | |
parent | 31a4f0f38236cc7c45d34dadc0581f17c93bb3aa (diff) | |
download | subhook-5607ef9f91d543e30d0510b8fe1eb05f2596582e.zip subhook-5607ef9f91d543e30d0510b8fe1eb05f2596582e.tar.gz subhook-5607ef9f91d543e30d0510b8fe1eb05f2596582e.tar.bz2 |
SUB r/m32, imm32 instruction typo
IMM8 -> IMM32
Diffstat (limited to 'subhook_x86.c')
-rw-r--r-- | subhook_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subhook_x86.c b/subhook_x86.c index 368ff75..c042973 100644 --- a/subhook_x86.c +++ b/subhook_x86.c @@ -152,7 +152,7 @@ static size_t subhook_disasm(void *src, int32_t *reloc_op_offset) { /* SUB AL, imm8 */ {0x2C, 0, IMM8}, /* SUB EAX, imm32 */ {0x2D, 0, IMM32}, /* SUB r/m8, imm8 */ {0x80, 5, MODRM | REG_OPCODE | IMM8}, - /* SUB r/m32, imm32 */ {0x81, 5, MODRM | REG_OPCODE | IMM8}, + /* SUB r/m32, imm32 */ {0x81, 5, MODRM | REG_OPCODE | IMM32}, /* SUB r/m32, imm8 */ {0x83, 5, MODRM | REG_OPCODE | IMM8}, /* SUB r/m32, r32 */ {0x29, 0, MODRM}, /* SUB r32, r/m32 */ {0x2B, 0, MODRM}, |