From 3f50db413f41db2c0223245a0ab4b91b04dfcd74 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sat, 28 Sep 2002 12:17:20 +0000 Subject: [PATCH] Fix really stupid bug in REP SCAS. MERGE TO HEAD git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1127 --- vg_to_ucode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2