Fixed formatting of memory operands with explicit segment register

This commit is contained in:
flobernd 2018-01-14 18:49:56 +01:00
parent 57ccc70415
commit 7074e363f0
No known key found for this signature in database
GPG Key ID: 9C3AE0ED4A969F10
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ static ZydisStatus ZydisFormatOperandMemIntel(const ZydisFormatter* formatter, Z
ZYDIS_CHECK(formatter->funcPrintRegister(formatter, string, instruction, operand,
operand->mem.segment, userData));
ZYDIS_CHECK(ZydisStringAppendC(string, ":"));
break;
case ZYDIS_REGISTER_SS:
if ((formatter->forceMemorySegment) ||
(instruction->attributes & ZYDIS_ATTRIB_HAS_SEGMENT_SS))