Searched defs:cbImage (Results 1 - 25 of 25) sorted by relevance

/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodexports.cpp127 RTUINTPTR cbImage = pDbgMod->pImgVt->pfnImageSize(pDbgMod); local
128 AssertReturn(cbImage > 0, VERR_DBG_MOD_IPE);
H A Ddbgmod.cpp614 pDbgInfo->u.Pdb20.cbImage,
622 pDbgInfo->u.Dbg.cbImage,
986 RTUINTPTR cbImage = pDbgMod->pImgVt->pfnImageSize(pDbgMod); local
987 if ( pDeferred->cbImage == 0
988 || pDeferred->cbImage == cbImage)
1028 LogFlow(("rtDbgModFromPeImageOpenCallback: cbImage mismatch (found %#x, expected %#x) - %s\n",
1029 cbImage, pDeferred->cbImage, pszFilename));
1056 pDeferred->cbImage, pDeferre
1070 RTDbgModCreateFromPeImage(PRTDBGMOD phDbgMod, const char *pszFilename, const char *pszName, RTLDRMOD hLdrMod, uint32_t cbImage, uint32_t uTimestamp, RTDBGCFG hDbgCfg) argument
1330 rtDbgModFromMachOImageWorker(PRTDBGMODINT pDbgMod, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg) argument
1365 RTDbgModCreateFromMachOImage(PRTDBGMOD phDbgMod, const char *pszFilename, const char *pszName, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg, uint32_t fFlags) argument
[all...]
H A Ddbgmoddbghelp.cpp408 uint32_t cbImage = pMod->pImgVt->pfnImageSize(pMod); local
430 uImageBase, cbImage, NULL /*pModData*/, 0 /*fFlags*/);
H A Ddbgcfg.cpp1270 RTDECL(int) RTDbgCfgOpenPeImage(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, argument
1274 RTStrPrintf(szSubDir, sizeof(szSubDir), "%08X%x", uTimestamp, cbImage);
1311 RTDECL(int) RTDbgCfgOpenPdb20(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, uint32_t uAge, argument
1324 RTDECL(int) RTDbgCfgOpenDbg(RTDBGCFG hDbgCfg, const char *pszFilename, uint32_t cbImage, uint32_t uTimestamp, argument
1328 RTStrPrintf(szSubDir, sizeof(szSubDir), "%08X%x", uTimestamp, cbImage);
H A Ddbgmodcodeview.cpp528 uint32_t cbImage; member in struct:RTDBGMODCV
1615 pThis->cbImage = 0x1000;
2145 if (pThis->cbImage)
2146 return pThis->cbImage;
2266 pThis->cbImage, i, sizeof(paShs[i].Name), paShs[i].Name));
2663 pThis->cbImage = DbgHdr.SizeOfImage;
/vbox/src/VBox/Runtime/testcase/
H A DtstLdr-4.cpp104 size_t cbImage = 0; local
142 if (cbImage && cb != cbImage)
148 aLoads[i].cbBits = cbImage = cb;
154 RTPrintf("tstLdr-4: Out of memory '%s'/%d cbImage=%d. aborting test.\n", pszFilename, i, cbImage);
H A DtstLdr.cpp94 size_t cbImage = 0; local
138 if (cbImage && cb != cbImage)
144 cbImage = cb;
150 RTPrintf("tstLdr: Out of memory '%s'/%d cbImage=%d. aborting test.\n", pszFilename, i, cbImage);
210 if (memcmp(aLoads[j].pvBits, aLoads[i].pvBits, cbImage))
216 for (uint32_t off = 0; off < cbImage; off++, pu8J++, pu8I++)
222 for (uint32_t off = 0; off < cbImage; off += 4, pu32J++, pu32I++)
244 if (off < cbImage)
[all...]
/vbox/src/VBox/Runtime/common/ldr/
H A DldrMemory.cpp55 size_t cbImage; member in struct:RTLDRRDRMEM
103 if ( cb > pThis->cbImage
104 || off > (RTFOFF)pThis->cbImage
105 || off + (RTFOFF)cb > (RTFOFF)pThis->cbImage)
107 pThis->offCur = pThis->cbImage;
132 return pThis->cbImage;
162 pThis->pvMapping = RTMemAlloc(pThis->cbImage);
165 int rc = rtldrRdrMem_Read(pReader, pThis->pvMapping, pThis->cbImage, 0);
214 * @param cbImage The image size.
217 * of at least @a cbImage siz
224 rtldrRdrMem_Create(PRTLDRREADER *ppReader, const char *pszName, size_t cbImage, PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser) argument
263 RTLdrOpenInMemory(const char *pszName, uint32_t fFlags, RTLDRARCH enmArch, size_t cbImage, PFNRTLDRRDRMEMREAD pfnRead, PFNRTLDRRDRMEMDTOR pfnDtor, void *pvUser, PRTLDRMOD phLdrMod) argument
[all...]
H A DldrELFRelocatable.cpp.h109 size_t cbImage; member in struct:RTLDRMODELF
765 return pModElf->cbImage;
1773 //pModElf->cbImage = 0;
1898 ? RT_ALIGN_T(pModElf->cbImage, paShdrs[i].sh_addralign, Elf_Addr)
1899 : (Elf_Addr)pModElf->cbImage;
1903 if (pModElf->cbImage < EndAddr)
1905 pModElf->cbImage = (size_t)EndAddr;
1906 AssertMsgReturn(pModElf->cbImage == EndAddr, (FMT_ELF_ADDR "\n", EndAddr), VERR_IMAGE_TOO_BIG);
1911 Log2(("RTLdrElf: iSymSh=%u cSyms=%u iStrSh=%u cbStr=%u rc=%Rrc cbImage=%#zx LinkAddress=" FMT_ELF_ADDR "\n",
1913 pModElf->cbImage, pModEl
[all...]
H A DldrPE.cpp105 uint32_t cbImage; member in struct:RTLDRMODPE
327 cbMapping = (j + 1 < pThis->cSections ? pThis->paSections[j + 1].VirtualAddress : pThis->cbImage)
441 || uRva > pThis->cbImage
442 || cbMem > pThis->cbImage
443 || uRva + cbMem > pThis->cbImage)
465 if (pvBits && (uintptr_t)pvMem - (uintptr_t)pvBits < pThis->cbImage)
467 if (pThis->pvBits && (uintptr_t)pvMem - (uintptr_t)pThis->pvBits < pThis->cbImage)
478 return pModPe->cbImage;
487 * @param pvBits Where to store the bits, this buffer is at least pItem->Core.cbImage in size.
506 memset(pvBits, 0, pModPe->cbImage);
3044 const uint32_t cbImage = pOptHdr->SizeOfImage; local
3228 const uint32_t cbImage = pOptHdr->SizeOfImage; local
[all...]
/vbox/src/VBox/Debugger/
H A DDBGPlugInOS2.cpp102 * @param cbImage The size of the image.
104 * RT_MIN(cbBuf, cbImage) bytes of the image.
108 PCDBGFADDRESS pImageAddr, uint32_t cbImage,
111 LogFlow(("DigOS2: %RGp %#x %s\n", pImageAddr->FlatPtr, cbImage, pszName));
107 dbgDiggerOS2ProcessImage(PDBGDIGGEROS2 pThis, PUVM pUVM, const char *pszName, PCDBGFADDRESS pImageAddr, uint32_t cbImage, uint8_t *pbBuf, size_t cbBuf) argument
H A DDBGPlugInDarwin.cpp560 rc = RTDbgModCreateFromMachOImage(&hMod, pszName, NULL, f64Bit ? RTLDRARCH_AMD64 : RTLDRARCH_X86_32, 0 /*cbImage*/,
792 uint64_t cbImage = f64Bit ? uMod.Info64.size : uMod.Info32.size; local
793 if (cbImage > 64U*_1M)
795 Log(("OSXDig: kmod_info @%RGv: Bad size %#llx\n", AddrModInfo.FlatPtr, cbImage));
824 pszName, pszVersion, uImageAddr, cbImage, cbHdr));
H A DDBGPlugInWinNt.cpp232 uint32_t cbImage; member in struct:DBGDIGGERWINNTRDR
312 uint32_t offNextMap = i + 1 < pThis->cMappings ? pThis->aMappings[i + 1].offFile : pThis->cbImage;
399 * @param cbImage The image size reported by NT.
404 * cbImage and virtual range of the section tables.
409 * a page aligned cbImage.
411 static bool dbgDiggerWinNtCheckSectHdrsAndImgSize(PCIMAGE_SECTION_HEADER paShs, uint32_t cShs, uint32_t cbImage, argument
414 *pcbImageCorrect = cbImage;
446 if ( cbImage < uRvaEnd
448 cbImage = RT_ALIGN(uRvaEnd, cbSectAlign);
451 if (uRvaEnd > cbImage)
468 dbgDiggerWinNtCreateLdrMod(PDBGDIGGERWINNT pThis, PUVM pUVM, const char *pszName, PCDBGFADDRESS pImageAddr, uint32_t cbImage, uint8_t *pbBuf, size_t cbBuf, uint32_t offHdrs, PCNTHDRS pHdrs, PRTLDRMOD phLdrMod) argument
593 dbgDiggerWinNtProcessImage(PDBGDIGGERWINNT pThis, PUVM pUVM, const char *pszName, PCDBGFADDRESS pImageAddr, uint32_t cbImage, uint8_t *pbBuf, size_t cbBuf) argument
[all...]
/vbox/src/VBox/Main/src-client/
H A DUsbWebcamInterface.cpp306 uint32_t cbImage = cbFrame - pFrame->u8HeaderLength; local
307 const uint8_t *pu8Image = cbImage > 0? (const uint8_t *)pFrame + pFrame->u8HeaderLength: NULL;
314 cbImage);
/vbox/src/VBox/Runtime/tools/
H A DRTLdrFlt.cpp240 uint32_t cbImage = 0; local
247 cbImage = ValueUnion.u32;
259 rc = RTDbgModCreateFromPeImage(&hMod, pszModule, NULL, NIL_RTLDRMOD, cbImage, uTimestamp, hDbgCfg);
/vbox/src/VBox/Runtime/include/internal/
H A Ddbgmod.h543 RTUINTPTR cbImage; member in struct:RTDBGMODDEFERRED
662 DECLHIDDEN(int) rtDbgModDeferredCreate(PRTDBGMODINT pDbgMod, PFNRTDBGMODDEFERRED pfnDeferred, RTUINTPTR cbImage,
/vbox/src/VBox/VMM/testcase/
H A DtstVMM.cpp145 tstVMMLdrEnum(PVM pVM, const char *pszFilename, const char *pszName, RTUINTPTR ImageBase, size_t cbImage, argument
148 NOREF(pVM); NOREF(pszFilename); NOREF(enmCtx); NOREF(pvUser); NOREF(cbImage);
/vbox/src/VBox/HostDrivers/Support/
H A DSUPLibLdr.cpp272 size_t cbImage; member in struct:SUPLDRCALCSIZEARGS
284 && Value <= pArgs->cbImage)
297 size_t cbImage; member in struct:SUPLDRCREATETABSARGS
312 && Value <= pArgs->cbImage)
368 CalcArgs.cbImage = RTLdrSize(hLdrMod);
372 const uint32_t offSymTab = RT_ALIGN_32(CalcArgs.cbImage, 8);
387 OpenReq.u.In.cbImageBits = (uint32_t)CalcArgs.cbImage;
455 CreateArgs.cbImage = CalcArgs.cbImage;
498 pLoadReq->u.In.cbImageBits = (uint32_t)CalcArgs.cbImage;
[all...]
H A DSUPDrvTracer.cpp232 if ((uintptr_t)(p) - (uintptr_t)pbImage > cbImage) \
234 SUPR0Printf("supdrvVtgValidate: " #rc " - p=%p pbImage=%p cbImage=%#zxline=%u %s\n", \
235 p, pbImage, cbImage, #p); \
253 * @param cbImage The image size, if available.
256 static int supdrvVtgValidateHdr(PVTGOBJHDR pVtgHdr, RTUINTPTR uVtgHdrAddr, const uint8_t *pbImage, size_t cbImage, bool fUmod) argument
309 * Make sure both pbImage and cbImage are NULL/0 if one if of them is.
311 if (!pbImage || !cbImage)
314 cbImage = 0;
482 * @param cbImage The image size to go with @a pbImage.
485 static int supdrvVtgValidate(PVTGOBJHDR pVtgHdr, RTUINTPTR uVtgHdrAddr, const uint8_t *pbImage, size_t cbImage, boo argument
[all...]
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPR3HardenedMainImports-win.cpp132 uint32_t cbImage; member in struct:SUPHNTIMPDLL
319 pDll->cbImage = pNtHdrs->OptionalHeader.SizeOfImage;
380 if (RT_UNLIKELY(offExpName < pDll->offEndSectHdrs || offExpName >= pDll->cbImage))
398 if (offExport >= pDll->cbImage)
H A DSUPHardenedVerifyProcess-win.cpp80 uintptr_t cbImage; member in struct:SUPHNTVPIMAGE
758 uint32_t const cbImage = fIs32Bit ? pNtHdrs32->OptionalHeader.SizeOfImage : pNtHdrs->OptionalHeader.SizeOfImage; local
759 if (RT_ALIGN_32(pImage->cbImage, PAGE_SIZE) != RT_ALIGN_32(cbImage, PAGE_SIZE) && !pImage->fApiSetSchemaOnlySection1)
762 pImage->pszName, cbImage, pImage->cbImage);
763 if (cbImage != RTLdrSize(pImage->pCacheEntry->hLdrMod))
766 pImage->pszName, cbImage, RTLdrSize(pImage->pCacheEntry->hLdrMod));
806 pImage->cbImage += pThis->aSecHdrs[0].VirtualAddress;
901 if (uSectRva < uRva || uSectRva > cbImage || RT_ALIGN_3
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DDBGFAddrSpace.cpp566 RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg)
568 NOREF(pVM); NOREF(cbImage);
594 RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg)
596 NOREF(pVM); NOREF(cbImage);
565 dbgfR3AsLazyPopulateR0Callback(PVM pVM, const char *pszFilename, const char *pszName, RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg) argument
593 dbgfR3AsLazyPopulateRCCallback(PVM pVM, const char *pszFilename, const char *pszName, RTUINTPTR ImageBase, size_t cbImage, PDMLDRCTX enmCtx, void *pvArg) argument
/vbox/src/VBox/Storage/
H A DVDICore.h557 uint64_t cbImage; member in struct:VDIIMAGEDESC
H A DQED.cpp183 uint64_t cbImage; member in struct:QEDIMAGE
763 offCluster = pImage->cbImage;
764 pImage->cbImage += cClusters*pImage->cbCluster;
1254 pImage->cbImage = cbFile;
1349 pImage->cbImage = (1 * pImage->cbCluster) + pImage->cbTable; /* Header + L1 table size. */
/vbox/include/iprt/
H A Dldr.h442 * @param cbImage The size of the image (fake file).
445 * points to the raw image bits, at least @a cbImage of
459 RTDECL(int) RTLdrOpenInMemory(const char *pszName, uint32_t fFlags, RTLDRARCH enmArch, size_t cbImage,
739 uint32_t cbImage; member in struct:RTLDRDBGINFO::__anon461::__anon464
752 uint32_t cbImage; member in struct:RTLDRDBGINFO::__anon461::__anon465
761 uint32_t cbImage; member in struct:RTLDRDBGINFO::__anon461::__anon466
772 uint32_t cbImage; member in struct:RTLDRDBGINFO::__anon461::__anon467

Completed in 122 milliseconds