Changeset 65860 in vbox
- Timestamp:
- Feb 23, 2017 2:38:19 PM (8 years ago)
- Location:
- trunk/src/VBox/Disassembler
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Disassembler/DisasmCore.cpp
r65654 r65860 83 83 static FNDISPARSE ParseThreeByteEsc4; 84 84 static FNDISPARSE ParseThreeByteEsc5; 85 static FNDISPARSE Parse ImmGrpl;85 static FNDISPARSE ParseGrp1; 86 86 static FNDISPARSE ParseShiftGrp2; 87 87 static FNDISPARSE ParseGrp3; … … 134 134 ParseImmQword, 135 135 ParseTwoByteEsc, 136 Parse ImmGrpl,136 ParseGrp1, 137 137 ParseShiftGrp2, 138 138 ParseGrp3, … … 184 184 ParseImmQword_SizeOnly, 185 185 ParseTwoByteEsc, 186 Parse ImmGrpl,186 ParseGrp1, 187 187 ParseShiftGrp2, 188 188 ParseGrp3, … … 2206 2206 //***************************************************************************** 2207 2207 //***************************************************************************** 2208 static size_t Parse ImmGrpl(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam)2208 static size_t ParseGrp1(size_t offInstr, PCDISOPCODE pOp, PDISSTATE pDis, PDISOPPARAM pParam) 2209 2209 { 2210 2210 RT_NOREF_PV(pParam); -
trunk/src/VBox/Disassembler/DisasmInternal.h
r62479 r65860 45 45 IDX_ParseImmQword, 46 46 IDX_ParseTwoByteEsc, 47 IDX_Parse ImmGrpl,47 IDX_ParseGrp1, 48 48 IDX_ParseShiftGrp2, 49 49 IDX_ParseGrp3, -
trunk/src/VBox/Disassembler/DisasmTables.cpp
r64485 r65860 233 233 234 234 /* 8 */ 235 OP("Imm Grp1 %Eb,%Ib", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS),236 OP("Imm Grp1 %Ev,%Iz", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Iz, OP_PARM_NONE, DISOPTYPE_HARMLESS),237 OP("Imm Grp1 %Eb,%Ib", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS | DISOPTYPE_INVALID_64),238 OP("Imm Grp1 %Ev,%Ib", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS),235 OP("Imm Grp1 %Eb,%Ib", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS), 236 OP("Imm Grp1 %Ev,%Iz", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Iz, OP_PARM_NONE, DISOPTYPE_HARMLESS), 237 OP("Imm Grp1 %Eb,%Ib", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS | DISOPTYPE_INVALID_64), 238 OP("Imm Grp1 %Ev,%Ib", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS), 239 239 OP("test %Eb,%Gb", IDX_ParseModRM, IDX_UseModRM, 0, OP_TEST, OP_PARM_Eb, OP_PARM_Gb, OP_PARM_NONE, DISOPTYPE_HARMLESS), 240 240 OP("test %Ev,%Gv", IDX_ParseModRM, IDX_UseModRM, 0, OP_TEST, OP_PARM_Ev, OP_PARM_Gv, OP_PARM_NONE, DISOPTYPE_HARMLESS), … … 248 248 OP("lea %Gv,%M", IDX_ParseModRM, IDX_UseModRM, 0, OP_LEA, OP_PARM_Gv, OP_PARM_M, OP_PARM_NONE, DISOPTYPE_HARMLESS), 249 249 OP("mov %Sw,%Ev", IDX_ParseModRM, IDX_UseModRM, 0, OP_MOV, OP_PARM_Sw, OP_PARM_Ev, OP_PARM_NONE, DISOPTYPE_POTENTIALLY_DANGEROUS | DISOPTYPE_INHIBIT_IRQS), 250 /** @todo this is grp 1a, actually */ 250 251 OP("pop %Ev", IDX_ParseModRM, 0, 0, OP_POP, OP_PARM_Ev, OP_PARM_NONE, OP_PARM_NONE, DISOPTYPE_HARMLESS), 251 252 -
trunk/src/VBox/Disassembler/DisasmTablesX64.cpp
r64485 r65860 207 207 208 208 /* 8 */ 209 OP("Imm Grp1 %Eb,%Ib", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS),210 OP("Imm Grp1 %Ev,%Iz", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Iz, OP_PARM_NONE, DISOPTYPE_HARMLESS),211 INVALID_OPCODE, 212 OP("Imm Grp1 %Ev,%Ib", IDX_Parse ImmGrpl,0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS),209 OP("Imm Grp1 %Eb,%Ib", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Eb, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS), 210 OP("Imm Grp1 %Ev,%Iz", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Iz, OP_PARM_NONE, DISOPTYPE_HARMLESS), 211 INVALID_OPCODE, 212 OP("Imm Grp1 %Ev,%Ib", IDX_ParseGrp1, 0, 0, OP_IMM_GRP1,OP_PARM_Ev, OP_PARM_Ib, OP_PARM_NONE, DISOPTYPE_HARMLESS), 213 213 OP("test %Eb,%Gb", IDX_ParseModRM, IDX_UseModRM, 0, OP_TEST, OP_PARM_Eb, OP_PARM_Gb, OP_PARM_NONE, DISOPTYPE_HARMLESS), 214 214 OP("test %Ev,%Gv", IDX_ParseModRM, IDX_UseModRM, 0, OP_TEST, OP_PARM_Ev, OP_PARM_Gv, OP_PARM_NONE, DISOPTYPE_HARMLESS), … … 222 222 OP("lea %Gv,%M", IDX_ParseModRM, IDX_UseModRM, 0, OP_LEA, OP_PARM_Gv, OP_PARM_M, OP_PARM_NONE, DISOPTYPE_HARMLESS), 223 223 OP("mov %Sw,%Ev", IDX_ParseModRM, IDX_UseModRM, 0, OP_MOV, OP_PARM_Sw, OP_PARM_Ev, OP_PARM_NONE, DISOPTYPE_POTENTIALLY_DANGEROUS | DISOPTYPE_INHIBIT_IRQS), 224 /** @todo this is grp 1a, actually */ 224 225 OP("pop %Ev", IDX_ParseModRM, 0, 0, OP_POP, OP_PARM_Ev, OP_PARM_NONE, OP_PARM_NONE, DISOPTYPE_HARMLESS), 225 226
Note:
See TracChangeset
for help on using the changeset viewer.