aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornotyourusualaccountname <71126930+notyourusualaccountname@users.noreply.github.com>2021-03-07 14:58:01 +0100
committerGitHub <noreply@github.com>2021-03-07 21:58:01 +0800
commit63accbdc3f31d21f312cfa8b232e8ec9699c7486 (patch)
tree148f83ce33d1e59e6833cefc3036ed8eb8c318aa
parent310e37330c3acf1184847df6892612216f3300b2 (diff)
downloadcapstone-63accbdc3f31d21f312cfa8b232e8ec9699c7486.tar.gz
Fix bug introduced in https://github.com/aquynh/capstone/commit/0932f167fd5620bba1619fc3fae90924292ebb2e (#1681)
Co-authored-by: Raffaele Meyer <Raffaele Meyer>
-rw-r--r--arch/X86/X86Mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/X86/X86Mapping.c b/arch/X86/X86Mapping.c
index 94cd9dc8..d98f2afe 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;