From 2ee833252912e0a228408d46b1ebfe6b1cb6fab3 Mon Sep 17 00:00:00 2001 From: flobernd Date: Thu, 29 Jun 2017 20:06:44 +0200 Subject: [PATCH] Fixed operand-action for MVEX-instructions with `READWRITE` operands --- src/Decoder.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Decoder.c b/src/Decoder.c index 451e714..c905616 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -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; }