]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
In 32-bit mode only, accept primary opcode 0x82 and treat it the same
authorJulian Seward <jseward@acm.org>
Fri, 31 Oct 2008 21:27:38 +0000 (21:27 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 31 Oct 2008 21:27:38 +0000 (21:27 +0000)
as 0x80.  Fixes #172417.

git-svn-id: svn://svn.valgrind.org/vex/trunk@1867

VEX/priv/guest-x86/toIR.c

index 5c945353b0c77e70b9ae7c20ee1c6db469065d6c..7f327199ae3040854df893a1bc44f8e9746ad745 100644 (file)
@@ -13643,6 +13643,9 @@ DisResult disInstr_X86_WRK (
 
    /* ------------------------ (Grp1 extensions) ---------- */
 
+   case 0x82: /* Grp1 Ib,Eb too.  Apparently this is the same as 
+                 case 0x80, but only in 32-bit mode. */
+      /* fallthru */
    case 0x80: /* Grp1 Ib,Eb */
       modrm = getIByte(delta);
       am_sz = lengthAMode(delta);