mirror of https://github.com/x64dbg/zydis
Fixed formatting of memory operands with explicit segment register
This commit is contained in:
parent
57ccc70415
commit
7074e363f0
|
@ -222,6 +222,7 @@ static ZydisStatus ZydisFormatOperandMemIntel(const ZydisFormatter* formatter, Z
|
||||||
ZYDIS_CHECK(formatter->funcPrintRegister(formatter, string, instruction, operand,
|
ZYDIS_CHECK(formatter->funcPrintRegister(formatter, string, instruction, operand,
|
||||||
operand->mem.segment, userData));
|
operand->mem.segment, userData));
|
||||||
ZYDIS_CHECK(ZydisStringAppendC(string, ":"));
|
ZYDIS_CHECK(ZydisStringAppendC(string, ":"));
|
||||||
|
break;
|
||||||
case ZYDIS_REGISTER_SS:
|
case ZYDIS_REGISTER_SS:
|
||||||
if ((formatter->forceMemorySegment) ||
|
if ((formatter->forceMemorySegment) ||
|
||||||
(instruction->attributes & ZYDIS_ATTRIB_HAS_SEGMENT_SS))
|
(instruction->attributes & ZYDIS_ATTRIB_HAS_SEGMENT_SS))
|
||||||
|
|
Loading…
Reference in New Issue