mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-03-02 03:26:07 +00:00
x86: repne prefix can come with INS/OUTS/LODS instructions. bug reported by Ruslan Kabatsayev
This commit is contained in:
parent
1c6309cdb8
commit
bbc33d6d63
@ -2841,11 +2841,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…
x
Reference in New Issue
Block a user