/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodexports.cpp | 48 PRTDBGMODINT pDbgMod; member in struct:RTDBGMODEXPORTARGS 67 int rc = RTDbgModSymbolAdd(pArgs->pDbgMod, pszSymbol, RTDBGSEGIDX_RVA, Value - pArgs->uImageBase, 91 return RTDbgModSegmentAdd(pArgs->pDbgMod, 0, 0, pSeg->pszName, 0 /*fFlags*/, NULL); 109 return RTDbgModSegmentAdd(pArgs->pDbgMod, uRva, cb, pSeg->pszName, 0 /*fFlags*/, NULL); 121 * @param pDbgMod The debug module structure. 123 DECLHIDDEN(int) rtDbgModCreateForExports(PRTDBGMODINT pDbgMod) argument 125 AssertReturn(!pDbgMod->pDbgVt, VERR_DBG_MOD_IPE); 126 AssertReturn(pDbgMod->pImgVt, VERR_DBG_MOD_IPE); 127 RTUINTPTR cbImage = pDbgMod->pImgVt->pfnImageSize(pDbgMod); [all...] |
H A D | dbgmodldr.cpp | 236 * @param pDbgMod The debug module instance. 239 DECLHIDDEN(int) rtDbgModLdrOpenFromHandle(PRTDBGMODINT pDbgMod, RTLDRMOD hLdrMod) argument 246 pDbgMod->pvImgPriv = pThis;
|
H A D | dbgmod.cpp | 86 #define RTDBGMOD_VALID_RETURN_RC(pDbgMod, rc) \ 88 AssertPtrReturn((pDbgMod), (rc)); \ 89 AssertReturn((pDbgMod)->u32Magic == RTDBGMOD_MAGIC, (rc)); \ 90 AssertReturn((pDbgMod)->cRefs > 0, (rc)); \ 94 #define RTDBGMOD_LOCK(pDbgMod) \ 96 int rcLock = RTCritSectEnter(&(pDbgMod)->CritSect); \ 101 #define RTDBGMOD_UNLOCK(pDbgMod) \ 103 int rcLock = RTCritSectLeave(&(pDbgMod)->CritSect); \ 338 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)RTMemAllocZ(sizeof(*pDbgMod)); 391 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)RTMemAllocZ(sizeof(*pDbgMod)); local 469 rtDbgModOpenDebugInfoInsideImage(PRTDBGMODINT pDbgMod) argument 505 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser1; local 555 PRTDBGMODINT pDbgMod; member in struct:RTDBGMODOPENDIETI 657 rtDbgModOpenDebugInfoExternalToImage(PRTDBGMODINT pDbgMod, RTDBGCFG hDbgCfg) argument 676 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser1; local 726 rtDbgModOpenDebugInfoExternalToImage2(PRTDBGMODINT pDbgMod, RTDBGCFG hDbgCfg) argument 808 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)RTMemAllocZ(sizeof(*pDbgMod)); local 944 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser1; local 1049 rtDbgModFromPeImageDeferredCallback(PRTDBGMODINT pDbgMod, PRTDBGMODDEFERRED pDeferred) argument 1099 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)RTMemAllocZ(sizeof(*pDbgMod)); local 1212 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser1; local 1330 rtDbgModFromMachOImageWorker(PRTDBGMODINT pDbgMod, RTLDRARCH enmArch, uint32_t cbImage, uint32_t cSegs, PCRTDBGSEGMENT paSegs, PCRTUUID pUuid, RTDBGCFG hDbgCfg) argument 1357 rtDbgModFromMachOImageDeferredCallback(PRTDBGMODINT pDbgMod, PRTDBGMODDEFERRED pDeferred) argument [all...] |
H A D | dbgmodcodeview.cpp | 2325 * @param pDbgMod The debug module instance. 2330 static int rtDbgModCvCreateInstance(PRTDBGMODINT pDbgMod, RTCVFILETYPE enmFileType, RTFILE hFile, PRTDBGMODCV *ppThis) argument 2336 PRTDBGMODCV pThis = (PRTDBGMODCV)pDbgMod->pvDbgPriv; 2341 Assert(pThis->pMod == pDbgMod); 2352 int rc = RTDbgModCreate(&pThis->hCnt, pDbgMod->pszName, 0 /*cbSeg*/, 0 /*fFlags*/); 2355 pDbgMod->pvDbgPriv = pThis; 2358 pThis->pMod = pDbgMod; 2373 * @param pDbgMod The debug module instance. On success pvDbgPriv 2381 static int rtDbgModCvProbeCoff(PRTDBGMODINT pDbgMod, RTCVFILETYPE enmFileType, RTFILE hFile, argument 2401 rc = pDbgMod 2472 rtDbgModCvProbeCommon(PRTDBGMODINT pDbgMod, PRTCVHDR pCvHdr, RTCVFILETYPE enmFileType, RTFILE hFile, uint32_t off, uint32_t cb, RTLDRARCH enmArch, const char *pszFilename) argument 2518 PRTDBGMODINT pDbgMod = (PRTDBGMODINT)pvUser; local 2579 rtDbgModCvProbeFile(PRTDBGMODINT pDbgMod, const char *pszFilename, RTLDRARCH enmArch) argument [all...] |
H A D | dbgmoddwarf.cpp | 4742 static int rtDbgModDwarfTryOpenDbgFile(PRTDBGMODINT pDbgMod, PRTDBGMODDWARF pThis, RTLDRARCH enmArch) argument 4744 if ( !pDbgMod->pszDbgFile 4745 || RTPathIsSame(pDbgMod->pszDbgFile, pDbgMod->pszImgFile) == (int)true /* returns VERR too */) 4758 if (RTStrCacheRetain(pDbgMod->pszDbgFile) != UINT32_MAX) 4760 pDbgInfoMod->pszImgFile = pDbgMod->pszDbgFile; 4761 if (RTStrCacheRetain(pDbgMod->pszName) != UINT32_MAX) 4763 pDbgInfoMod->pszName = pDbgMod->pszName;
|
/vbox/src/VBox/Runtime/include/internal/ |
H A D | dbgmod.h | 661 DECLHIDDEN(int) rtDbgModCreateForExports(PRTDBGMODINT pDbgMod); variable 662 DECLHIDDEN(int) rtDbgModDeferredCreate(PRTDBGMODINT pDbgMod, PFNRTDBGMODDEFERRED pfnDeferred, RTUINTPTR cbImage, 665 DECLHIDDEN(int) rtDbgModLdrOpenFromHandle(PRTDBGMODINT pDbgMod, RTLDRMOD hLdrMod);
|