x86: repne prefix can come with INS/OUTS/LODS instructions. bug reported by Ruslan Kabatsayev

This commit is contained in:
Nguyen Anh Quynh 2015-08-14 21:34:09 +08:00
parent 12bd773d5e
commit b0b5fb8db1

View File

@ -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: