From 606214c5a7c5cfd14ffcc6a536c391e284c4ca3b Mon Sep 17 00:00:00 2001 From: flobernd Date: Thu, 14 Sep 2017 22:21:11 +0200 Subject: [PATCH] Fixed decoding of 16-bit displacements --- src/Decoder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Decoder.c b/src/Decoder.c index 64b9c8e..777b7af 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -3176,6 +3176,7 @@ static ZydisStatus ZydisDecodeOptionalInstructionParts(ZydisDecoderContext* cont default: ZYDIS_UNREACHABLE; } + break; case 32: case 64: hasSIB =