From: Julian Seward Date: Sat, 28 Sep 2002 12:17:20 +0000 (+0000) Subject: Fix really stupid bug in REP SCAS. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f50db413f41db2c0223245a0ab4b91b04dfcd74;p=thirdparty%2Fvalgrind.git Fix really stupid bug in REP SCAS. MERGE TO HEAD git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1127 --- diff --git a/vg_to_ucode.c b/vg_to_ucode.c index d712012243..822d9caee2 100644 --- a/vg_to_ucode.c +++ b/vg_to_ucode.c @@ -4089,7 +4089,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) abyte = getUChar(eip); eip++; if (abyte == 0x66) { sz = 2; abyte = getUChar(eip); eip++; } - if (abyte == 0xAE || 0xAF) { /* REPNE SCAS */ + if (abyte == 0xAE || abyte == 0xAF) { /* REPNE SCAS */ if (abyte == 0xAE) sz = 1; codegen_REPNE_SCAS ( cb, sz, eip_orig, eip ); *isEnd = True;