Fixed operand-action for MVEX-instructions with `READWRITE` operands

This commit is contained in:
flobernd 2017-06-29 20:06:44 +02:00
parent 8ef597970d
commit 2ee8332529
1 changed files with 3 additions and 0 deletions

View File

@ -1956,6 +1956,9 @@ FinalizeOperand:
case ZYDIS_OPERAND_ACTION_WRITE:
info->operands[0].action = ZYDIS_OPERAND_ACTION_CONDWRITE;
break;
case ZYDIS_OPERAND_ACTION_READWRITE:
info->operands[0].action = ZYDIS_OPERAND_ACTION_READ_CONDWRITE;
break;
default:
ZYDIS_UNREACHABLE;
}