|
else if ( (pins->OperandCount >= 1) && (pins->Operands[0].Flags & OP_IPREL) ) |
|
{ |
|
// unsupported rip-addressing |
|
ODPRINTF((L"mhooks: DisassembleAndSkip: found unsupported OP_IPREL on operand %d", 0)); |
|
// dump instruction bytes to the debug output |
|
for (DWORD i=0; i<pins->Length; i++) |
|
{ |
|
ODPRINTF((L"mhooks: DisassembleAndSkip: instr byte %2.2d: 0x%2.2x", i, pLoc[i])); |
|
} |
|
break; |
In this, and the following two cases, the break can (and does in my tests) cause the hook installation to fail. I have personally removed them on my end and it works well. But what's the reasoning for breaking here?
mhook/mhook-lib/mhook.cpp
Lines 1004 to 1013 in 2238938
In this, and the following two cases, the break can (and does in my tests) cause the hook installation to fail. I have personally removed them on my end and it works well. But what's the reasoning for breaking here?