Fixed element-type for AGEN operands

This commit is contained in:
flobernd 2017-06-20 22:02:40 +02:00
parent 52e1b59702
commit 5112e61fd8
1 changed files with 1 additions and 0 deletions

View File

@ -960,6 +960,7 @@ static void ZydisSetOperandSizeAndElementInfo(ZydisDecoderContext* context,
{ {
ZYDIS_ASSERT(definition->size[context->eoszIndex] == 0); ZYDIS_ASSERT(definition->size[context->eoszIndex] == 0);
operand->size = info->addressWidth; operand->size = info->addressWidth;
operand->elementType = ZYDIS_ELEMENT_TYPE_INT;
operand->elementCount = 1; operand->elementCount = 1;
} else } else
{ {