mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-30 08:50:42 +00:00
x86: repne prefix can come with INS/OUTS/LODS instructions. bug reported by Ruslan Kabatsayev
This commit is contained in:
parent
12bd773d5e
commit
b0b5fb8db1
@ -47557,11 +47557,23 @@ static bool valid_repne(cs_struct *h, unsigned int opcode)
|
||||
case X86_INS_MOVSD:
|
||||
case X86_INS_MOVSQ:
|
||||
|
||||
case X86_INS_LODSB:
|
||||
case X86_INS_LODSW:
|
||||
case X86_INS_LODSQ:
|
||||
|
||||
case X86_INS_STOSB:
|
||||
case X86_INS_STOSW:
|
||||
case X86_INS_STOSD:
|
||||
case X86_INS_STOSQ:
|
||||
|
||||
case X86_INS_INSB:
|
||||
case X86_INS_INSW:
|
||||
case X86_INS_INSD:
|
||||
|
||||
case X86_INS_OUTSB:
|
||||
case X86_INS_OUTSW:
|
||||
case X86_INS_OUTSD:
|
||||
|
||||
return true;
|
||||
|
||||
case X86_INS_CMPSD:
|
||||
|
Loading…
Reference in New Issue
Block a user