/vbox/src/VBox/Disassembler/ |
H A D | DisasmFormatBytes.cpp | 71 PUT_NUM(3, " %02x", pDis->abInstr[i]); 73 PUT_NUM(2, "%02x", pDis->abInstr[i]);
|
H A D | DisasmCore.cpp | 37 /** This must be less or equal to DISSTATE::abInstr. 240 RT_BZERO(&pDis->abInstr[offInstr], cbMaxRead); 251 memcpy(&pDis->abInstr[offInstr], pbSrc, cbToRead); 259 * Read more bytes into the DISSTATE::abInstr buffer, advance 264 * The caller shall fend off reads beyond the DISSTATE::abInstr buffer. 273 Assert(cbMin + offInstr <= sizeof(pDis->abInstr)); 293 * (No need to zero anything on failure as abInstr is already zeroed by the 296 int rc = pDis->pfnReadBytes(pDis, offInstr, cbMin, sizeof(pDis->abInstr) - offInstr); 300 Assert(pDis->cbCachedInstr <= sizeof(pDis->abInstr)); 324 RTINTPTR cbLeft = sizeof(pDis->abInstr) [all...] |
H A D | DisasmFormatYasm.cpp | 1343 for (uint32_t offOpcode = 0; offOpcode < RT_ELEMENTS(pDis->abInstr); offOpcode++) 1346 switch (pDis->abInstr[offOpcode])
|
/vbox/src/VBox/Disassembler/testcase/ |
H A D | tstDisasm-2.cpp | 182 memcpy(&pState->Dis.abInstr[offInstr], pState->pbNext, cbToRead); 197 memcpy(&pState->Dis.abInstr[offInstr], pState->pbNext, pState->cbLeft); 204 memset(&pState->Dis.abInstr[offInstr], 0xcc, cbMinRead); 213 memset(&pState->Dis.abInstr[offInstr], 0x90, cbMinRead); 304 State.Dis.abInstr[0] = 0; 310 RTPrintf(off ? ", %03xh" : " %03xh", State.Dis.abInstr[off]); 333 RTPrintf(off ? ", %03xh" : " %03xh", State.Dis.abInstr[off]); 364 uint8_t abInstr[sizeof(State.Dis.abInstr)]; local 365 memcpy(abInstr, Stat [all...] |
H A D | tstDisasm-1.cpp | 79 Dis.abInstr, Dis.cbCachedInstr, NULL, NULL, &DisOnly, &cbOnly); 92 memcpy(&pDis->abInstr[offInstr], (void *)((uintptr_t)pDis->uInstrAddr + offInstr), cbMaxRead);
|
/vbox/src/VBox/ValidationKit/utils/cpu/ |
H A D | cidet-core.cpp | 1987 * @returns true and pThis->cbInstr and pThis->abInstr on success, false on 2001 pThis->abInstr[off++] = 0x67; 2003 pThis->abInstr[off++] = 0x66; 2025 pThis->abInstr[off++] = 0x40 | (pThis->fRexB * 1) | (pThis->fRexX * 2) | (pThis->fRexR * 4) | (pThis->fRexW * 8); 2034 case 3: pThis->abInstr[off++] = *pbOpcode++; 2035 case 2: pThis->abInstr[off++] = *pbOpcode++; 2036 case 1: pThis->abInstr[off++] = *pbOpcode++; 2047 pThis->abInstr[off++] = pThis->bModRm; 2049 pThis->abInstr[off++] = pThis->bSib; 2056 case 8: pThis->abInstr[of [all...] |
H A D | cidet.h | 1017 uint8_t abInstr[45]; member in struct:CIDETCORE 1018 /** The size of the instruction in abInstr. */
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstLdrDisasmTest.cpp | 90 memcpy(&pDis->abInstr[offInstr], &g_ab32BitCode[pDis->uInstrAddr + offInstr], cb);
|
H A D | tstLdr-3.cpp | 152 memcpy(&pDis->abInstr[offInstr], pbSrc, cbMinRead);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFDisas.cpp | 287 int rc = PATMR3ReadOrgInstr(pState->pVM, GCPtr, &pDis->abInstr[offInstr], cbRead, &cbRead); 311 memcpy(&pDis->abInstr[offInstr], (char *)pState->pvPageR3 + (GCPtr & PAGE_OFFSET_MASK), cb); 572 RTStrPrintf(pszOutput, cbOutput, "Disas -> %Rrc; %.*Rhxs\n", rc, (size_t)State.Cpu.cbCachedInstr, State.Cpu.abInstr); 625 uint8_t const *pabInstr = State.Cpu.abInstr;
|
H A D | HM.cpp | 1740 uint8_t abInstr[15]; local 1755 rc = PGMPhysSimpleReadGCPtr(pVCpu, abInstr, pInstrGC, pPatch->cbNewOp); 1762 if (memcmp(abInstr, pPatch->aNewOpcode, pPatch->cbNewOp)) 1970 uint8_t abInstr[15]; local 1980 abInstr[0] = 0xF0; 1981 abInstr[1] = 0x0F; 1982 abInstr[2] = 0x20; 1983 abInstr[3] = 0xC0 | pDis->Param1.Base.idxGenReg; 1985 abInstr[i] = 0x90; /* nop */ 1987 rc = PGMPhysSimpleWriteGCPtr(pVCpu, pCtx->rip, abInstr, pPatc [all...] |
H A D | CSAM.cpp | 765 int rc = PATMR3ReadOrgInstr(pDisInfo->pVM, pDis->uInstrAddr + offInstr, &pDis->abInstr[offInstr], cbRead, &cbRead); 786 memcpy(&pDis->abInstr[offInstr], &pDisInfo->pbSrcInstr[offInstr], cbMaxRead); 794 memcpy(&pDis->abInstr[offInstr], &pDisInfo->pbSrcInstr[offInstr], cbMinRead); 801 rc = PGMPhysSimpleReadGCPtr(VMMGetCpu0(pDisInfo->pVM), &pDis->abInstr[offInstr], uSrcAddr, cbMinRead);
|
H A D | PATM.cpp | 605 int rc = PATMR3ReadOrgInstr(pDisInfo->pVM, pDis->uInstrAddr + offInstr, &pDis->abInstr[offInstr], cbRead, &cbRead); 637 rc = PGMPhysSimpleReadGCPtr(&pDisInfo->pVM->aCpus[0], &pDis->abInstr[offInstr], uSrcAddr, cbMinRead); 659 memcpy(&pDis->abInstr[offInstr], pbInstrHC, cbToRead);
|
H A D | CPUM.cpp | 1992 memcpy(&pDis->abInstr[offInstr], (uint8_t *)pState->pvPageR3 + (GCPtr & PAGE_OFFSET_MASK), cb);
|
/vbox/include/VBox/vmm/ |
H A D | hm_svm.h | 668 uint8_t abInstr[15]; member in struct:SVMVMCB::__anon350 806 AssertCompileMemberOffset(SVMVMCB, ctrl.abInstr, 0xD1);
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | EMAll.cpp | 363 memcpy(&pDis->abInstr[offInstr], (void *)(uintptr_t)uSrcAddr, cbToRead); 365 memcpy(&pDis->abInstr[offInstr], PATMR3GCPtrToHCPtr(pVCpu->CTX_SUFF(pVM), uSrcAddr), cbToRead); 378 rc = MMGCRamRead(pVCpu->pVMRC, &pDis->abInstr[offInstr], (void *)(uintptr_t)uSrcAddr, cbToRead); 382 rc = MMGCRamRead(pVCpu->pVMRC, &pDis->abInstr[offInstr], (void *)(uintptr_t)uSrcAddr, cbToRead); 387 rc = PGMPhysSimpleReadGCPtr(pVCpu, &pDis->abInstr[offInstr], uSrcAddr, cbToRead); 393 rc = PGMPhysSimpleReadGCPtr(pVCpu, &pDis->abInstr[offInstr], uSrcAddr, cbToRead); 993 VBOXSTRICTRC rcIem = IEMExecOneBypassWithPrefetchedByPC(pVCpu, pRegFrame, pRegFrame->rip, pDis->abInstr, pDis->cbCachedInstr); 1023 VBOXSTRICTRC rcIem = IEMExecOneBypassWithPrefetchedByPC(pVCpu, pRegFrame, pRegFrame->rip, pDis->abInstr, pDis->cbCachedInstr); 1037 VBOXSTRICTRC rc = IEMExecOneBypassWithPrefetchedByPC(pVCpu, pRegFrame, pRegFrame->rip, pDis->abInstr, pDis->cbCachedInstr);
|
/vbox/include/VBox/ |
H A D | dis.h | 521 * @returns VBox status code, bytes in DISSTATE::abInstr and byte count in 531 * as an index into DISSTATE::abInstr. 554 /** The number of valid bytes in abInstr. */ 617 uint8_t abInstr[16]; member in struct:DISSTATE
|
/vbox/src/VBox/VMM/testcase/Instructions/ |
H A D | InstructionTestGen.py | 1520 def writeInstrBytes(self, abInstr): 1524 self.write(' db %#04x' % (abInstr[0],)); 1525 for i in range(1, len(abInstr)): 1526 self.write(', %#04x' % (abInstr[i],));
|
/vbox/src/VBox/VMM/testcase/ |
H A D | tstVMStruct.h | 1418 GEN_CHECK_OFF(DISCPUSTATE, abInstr);
|