We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e2bea commit efe5a6cCopy full SHA for efe5a6c
src/library/hookpatch.cpp
@@ -82,6 +82,7 @@ static int instruction_length(const unsigned char *func, instr_info *instr)
82
instr->operand_size_prefix = false;
83
instr->quad_prefix = false;
84
instr->multibyte_opcode = 0;
85
+ instr->modRM = 0;
86
87
int operandSizeDouble = 4; // operand size for instructions that depend only on 16-bit prefix, and cannot be promoted by REX.W 64-bit
88
int operandSize = 4; // operand size for instructions that depend on both operand-size prefixes
0 commit comments