x86: fix sysexit in #806
This commit is contained in:
parent
c9a2148b05
commit
bda181a6b5
|
@ -893,6 +893,15 @@ void X86_ATT_printInst(MCInst *MI, SStream *OS, void *info)
|
|||
else
|
||||
printInstruction(MI, OS, info);
|
||||
|
||||
// HACK TODO: fix this in machine description
|
||||
switch(MI->flat_insn->id) {
|
||||
default: break;
|
||||
case X86_INS_SYSEXIT:
|
||||
SStream_Init(OS);
|
||||
SStream_concat0(OS, "sysexit");
|
||||
break;
|
||||
}
|
||||
|
||||
if (MI->has_imm) {
|
||||
// if op_count > 1, then this operand's size is taken from the destination op
|
||||
if (MI->flat_insn->detail->x86.op_count > 1) {
|
||||
|
|
Loading…
Reference in New Issue