]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix really stupid bug in REP SCAS<sz>.
authorJulian Seward <jseward@acm.org>
Sat, 28 Sep 2002 12:17:20 +0000 (12:17 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 28 Sep 2002 12:17:20 +0000 (12:17 +0000)
MERGE TO HEAD

git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1127

vg_to_ucode.c

index d712012243f690ba8469648342b3afa60b4810a9..822d9caee29568feba4402002c57eef00d74ef88 100644 (file)
@@ -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<sz> */
+      if (abyte == 0xAE || abyte == 0xAF) { /* REPNE SCAS<sz> */
          if (abyte == 0xAE) sz = 1;
          codegen_REPNE_SCAS ( cb, sz, eip_orig, eip );
          *isEnd = True;