From 5112e61fd832bd2dfe3e2a4d26209449922899dc Mon Sep 17 00:00:00 2001 From: flobernd Date: Tue, 20 Jun 2017 22:02:40 +0200 Subject: [PATCH] Fixed element-type for AGEN operands --- src/Decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Decoder.c b/src/Decoder.c index 75cbf3f..db19aa0 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -960,6 +960,7 @@ static void ZydisSetOperandSizeAndElementInfo(ZydisDecoderContext* context, { ZYDIS_ASSERT(definition->size[context->eoszIndex] == 0); operand->size = info->addressWidth; + operand->elementType = ZYDIS_ELEMENT_TYPE_INT; operand->elementCount = 1; } else {