From e4fef1e92077e52738b91a66f7ff5435814ba96c Mon Sep 17 00:00:00 2001 From: Raffaele Meyer Date: Fri, 11 Sep 2020 11:53:06 +0200 Subject: [PATCH] Fix bug introduced in https://github.com/aquynh/capstone/commit/0932f167fd5620bba1619fc3fae90924292ebb2e --- arch/X86/X86Mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/X86/X86Mapping.c b/arch/X86/X86Mapping.c index 94cd9dc825..d98f2afea0 100644 --- a/arch/X86/X86Mapping.c +++ b/arch/X86/X86Mapping.c @@ -3122,7 +3122,7 @@ static bool valid_repne(cs_struct *h, unsigned int opcode) return true; case X86_INS_MOVSD: - if (opcode == X86_MOVSW) // REP MOVSB + if (opcode == X86_MOVSL) // REP MOVSD return true; return false;