Fix handling of cmpxchg16b with lock prefix

This was discovered when Frida's Stalker encountered the following
x86-64 instruction while tracing code in ntdll: `f0 49 0f c7 0a`.
This commit is contained in:
Ole André Vadla Ravnås 2015-04-23 12:31:21 +02:00 committed by Nguyen Anh Quynh
parent f3ace82f8c
commit 2ac028681c
1 changed files with 1 additions and 0 deletions

View File

@ -2094,6 +2094,7 @@ static bool checkPrefix(struct InternalInstruction *insn)
case X86_BTS64mr:
// CMPXCHG
case X86_CMPXCHG16B:
case X86_CMPXCHG16rm:
case X86_CMPXCHG32rm:
case X86_CMPXCHG64rm: