From 6472fa99293ef488ea17ab36e027c364d1f0be3a Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 25 Apr 2016 10:28:13 +0800 Subject: [PATCH] x86: do not print LJMP/LCALL with ptr. this fixes issue #429 --- arch/X86/X86IntelInstPrinter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/X86/X86IntelInstPrinter.c b/arch/X86/X86IntelInstPrinter.c index bd032d28f..9feca5826 100644 --- a/arch/X86/X86IntelInstPrinter.c +++ b/arch/X86/X86IntelInstPrinter.c @@ -75,6 +75,8 @@ static void printopaquemem(MCInst *MI, unsigned OpNo, SStream *O) case X86_INS_LIDT: case X86_INS_FXRSTOR: case X86_INS_FXSAVE: + case X86_INS_LJMP: + case X86_INS_LCALL: // do not print "ptr" break; }