|
|
|
@ -286,7 +286,8 @@ namespace vm
|
|
|
|
|
// the register is determined by the vm handler fetch above...
|
|
|
|
|
auto handler_transform =
|
|
|
|
|
std::find_if( handler_fetch, vm_entry.end(), [ & ]( const zydis_instr_t &instr_data ) -> bool {
|
|
|
|
|
return instr_data.instr.operands[ 0 ].reg.value ==
|
|
|
|
|
return vm::transform::valid( instr_data.instr.mnemonic ) &&
|
|
|
|
|
instr_data.instr.operands[ 0 ].reg.value ==
|
|
|
|
|
handler_fetch->instr.operands[ 0 ].reg.value &&
|
|
|
|
|
instr_data.instr.operands[ 0 ].actions & ZYDIS_OPERAND_ACTION_WRITE;
|
|
|
|
|
} );
|
|
|
|
|