x86: REPNE can go with STOS/MOVS. bug reported by Gabriel Quadros

test2
Nguyen Anh Quynh 10 years ago
parent dfa396e6ff
commit e3bcbdb2fa
  1. 11
      arch/X86/X86Mapping.c

@ -47810,6 +47810,17 @@ static bool valid_repne(cs_struct *h, unsigned int opcode)
case X86_INS_SCASB:
case X86_INS_SCASW:
case X86_INS_SCASQ:
case X86_INS_MOVSB:
case X86_INS_MOVSW:
case X86_INS_MOVSD:
case X86_INS_MOVSQ:
case X86_INS_STOSB:
case X86_INS_STOSW:
case X86_INS_STOSD:
case X86_INS_STOSQ:
return true;
case X86_INS_CMPSD:

Loading…
Cancel
Save