Searched refs:uRva (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodexports.cpp93 RTLDRADDR uRva = pSeg->RVA;
95 if (uRva < pArgs->uRvaNext)
96 uRva = RT_ALIGN_T(pArgs->uRvaNext, pSeg->Alignment, RTLDRADDR);
108 pArgs->uRvaNext = uRva + cb;
109 return RTDbgModSegmentAdd(pArgs->pDbgMod, uRva, cb, pSeg->pszName, 0 /*fFlags*/, NULL);
H A Ddbgmodcontainer.cpp472 pSegInfo->uRva = pThis->paSegs[iSeg].off;
490 static DECLCALLBACK(int) rtDbgModContainer_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName, argument
499 RTUINTPTR uRvaLast = uRva + RT_MAX(cb, 1) - 1;
506 if ( uRva <= uCurRvaLast
511 && uRva != uCurRva
512 && uRva != uCurRvaLast)
514 && uCurRva != uRva
518 AssertMsgFailedReturn(("uRva=%RTptr uRvaLast=%RTptr (cb=%RTptr) \"%s\";\n"
519 "uRva=%RTptr uRvaLast=%RTptr (cb=%RTptr) \"%s\" iSeg=%#x\n",
520 uRva, uRvaLas
572 rtDbgModContainer_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg) argument
[all...]
H A Ddbgmoddeferred.cpp332 pSegInfo->uRva = 0;
356 static DECLCALLBACK(int) rtDbgModDeferredDbg_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName,
361 rc = pMod->pDbgVt->pfnSegmentAdd(pMod, uRva, cb, pszName, cchName, fFlags, piSeg);
375 static DECLCALLBACK(RTDBGSEGIDX) rtDbgModDeferredDbg_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg)
379 return pMod->pDbgVt->pfnRvaToSegOff(pMod, uRva, poffSeg);
517 static DECLCALLBACK(int) rtDbgModDeferredImg_RvaToSegOffset(PRTDBGMODINT pMod, RTLDRADDR uRva,
522 rc = pMod->pImgVt->pfnRvaToSegOffset(pMod, uRva, piSeg, poffSeg);
H A Ddbgmoddbghelp.cpp168 static DECLCALLBACK(int) rtDbgModDbgHelp_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName, argument
173 return RTDbgModSegmentAdd(hCnt, uRva, cb, pszName, fFlags, piSeg);
188 static DECLCALLBACK(RTDBGSEGIDX) rtDbgModDbgHelp_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg) argument
191 return RTDbgModRvaToSegOff(hCnt, uRva, poffSeg);
H A Ddbgmodnm.cpp156 static DECLCALLBACK(int) rtDbgModNm_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, argument
161 return RTDbgModSegmentAdd(pThis->hCnt, uRva, cb, pszName, fFlags, piSeg);
174 static DECLCALLBACK(RTDBGSEGIDX) rtDbgModNm_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg) argument
177 return RTDbgModRvaToSegOff(pThis->hCnt, uRva, poffSeg);
H A Ddbgmodldr.cpp135 static DECLCALLBACK(int) rtDbgModLdr_RvaToSegOffset(PRTDBGMODINT pMod, RTLDRADDR uRva, argument
139 return RTLdrRvaToSegOffset(pThis->hLdrMod, uRva, piSeg, poffSeg);
H A Ddbgmod.cpp1621 RTDECL(RTDBGSEGIDX) RTDbgModRvaToSegOff(RTDBGMOD hDbgMod, RTUINTPTR uRva, PRTUINTPTR poffSeg)
1627 RTDBGSEGIDX iSeg = pDbgMod->pDbgVt->pfnRvaToSegOff(pDbgMod, uRva, poffSeg);
1672 RTDECL(int) RTDbgModSegmentAdd(RTDBGMOD hDbgMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName,
1680 AssertMsgReturn(uRva + cb >= uRva, ("uRva=%RTptr cb=%RTptr\n", uRva, cb), VERR_DBG_ADDRESS_WRAP);
1693 int rc = pDbgMod->pDbgVt->pfnSegmentAdd(pDbgMod, uRva, cb, pszName, cchName, fFlags, piSeg);
1746 return RT_SUCCESS(rc) ? SegInfo.uRva : RTUINTPTR_MAX;
H A Ddbgmodcodeview.cpp1132 uint64_t uRva = 0; local
1136 uRva += cbGroup0;
1149 rc = RTDbgModSegmentAdd(pThis->hCnt, uRva, paDescs[i].cb, pszName, 0 /*fFlags*/, NULL);
1150 uRva += paDescs[i].cb;
2132 static DECLCALLBACK(int) rtDbgModCv_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName, argument
2137 return RTDbgModSegmentAdd(pThis->hCnt, uRva, cb, pszName, fFlags, piSeg);
2152 static DECLCALLBACK(RTDBGSEGIDX) rtDbgModCv_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg) argument
2155 return RTDbgModRvaToSegOff(pThis->hCnt, uRva, poffSeg);
H A Ddbgmoddwarf.cpp4427 RTLDRADDR uRva = Value - RTDBGDWARF_SYM_ENUM_BASE_ADDRESS; local
4429 && uRva < _1G)
4433 int rc = RTDbgModSymbolByAddr(pThis->hCnt, RTDBGSEGIDX_RVA, uRva, RTDBGSYMADDR_FLAGS_LESS_OR_EQUAL, &offDisp, &SymInfo);
4437 rc = RTDbgModSymbolAdd(pThis->hCnt, pszSymbol, RTDBGSEGIDX_RVA, uRva, 1, 0 /*fFlags*/, NULL /*piOrdinal*/);
4605 static DECLCALLBACK(int) rtDbgModDwarf_SegmentAdd(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName, argument
4610 return RTDbgModSegmentAdd(pThis->hCnt, uRva, cb, pszName, fFlags, piSeg);
4625 static DECLCALLBACK(RTDBGSEGIDX) rtDbgModDwarf_RvaToSegOff(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg) argument
4628 return RTDbgModRvaToSegOff(pThis->hCnt, uRva, poffSeg);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp63 uint32_t uRva; member in struct:SUPHNTVPREGION
372 uint32_t uRva; member in struct:SUPHNTVPSKIPAREA
378 uint32_t uRva, uint32_t cb, const uint8_t *pbFile,
391 uint32_t uNextRva = uRva + cbThis;
398 uint32_t uSkipEnd = paSkipAreas[i].uRva + paSkipAreas[i].cb;
399 if ( uRva < uSkipEnd
400 && uRvaEnd > paSkipAreas[i].uRva)
402 if (uRva < paSkipAreas[i].uRva)
404 cbThis = paSkipAreas[i].uRva
377 supHardNtVpFileMemCompareSection(PSUPHNTVPSTATE pThis, PSUPHNTVPIMAGE pImage, uint32_t uRva, uint32_t cb, const uint8_t *pbFile, int32_t iSh, PSUPHNTVPSKIPAREA paSkipAreas, uint32_t cSkipAreas, uint32_t fCorrectProtection) argument
488 supHardNtVpCheckSectionProtection(PSUPHNTVPSTATE pThis, PSUPHNTVPIMAGE pImage, uint32_t uRva, uint32_t cb, uint32_t fProt) argument
896 uint32_t uRva = cbHdrsFile; local
[all...]
H A DSUPDrv-win.cpp1839 * @param uRva The RVA to start comparing at.
1842 static int supdrvNtCompare(PSUPDRVLDRIMAGE pImage, const uint8_t *pbImageBits, uint32_t uRva, uint32_t cb) argument
1844 int iDiff = memcmp((uint8_t const *)pImage->pvImage + uRva, pbImageBits + uRva, cb);
1849 for (size_t off = uRva; cbLeft > 0; off++, cbLeft--)
1898 uint32_t uRva; member in struct:MyRegion
1925 if (uRvaThunk < aExcludeRgns[i].uRva)
1929 aExcludeRgns[i].uRva = uRvaThunk;
1945 if (uRvaNext < aExcludeRgns[i].uRva)
1946 iDiff = supdrvNtCompare(pImage, pbImageBits, uRvaNext, aExcludeRgns[i].uRva
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A Ddbgmod.h302 * @param uRva The image relative address to convert.
305 DECLCALLBACKMEMBER(RTDBGSEGIDX, pfnRvaToSegOff)(PRTDBGMODINT pMod, RTUINTPTR uRva, PRTUINTPTR poffSeg);
328 * @param uRva The segment image relative address.
337 DECLCALLBACKMEMBER(int, pfnSegmentAdd)(PRTDBGMODINT pMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName, size_t cchName,
/vbox/src/VBox/Debugger/
H A DDBGPlugInDarwin.cpp495 aSegs[cSegs].uRva = uLCmd.pSeg32->vmaddr - uModAddr;
514 aSegs[cSegs].uRva = uLCmd.pSeg64->vmaddr - uModAddr;
575 if ( aSegs[iSeg].uRva > uRvaNext
576 && aSegs[iSeg].uRva - uRvaNext < _1M)
577 uRvaNext = aSegs[iSeg].uRva;
578 rc = RTDbgModSegmentAdd(hMod, aSegs[iSeg].uRva, aSegs[iSeg].cb, aSegs[iSeg].szName, 0, NULL);
583 rc = RTDbgModSymbolAdd(hMod, szTmp, iSeg, 0 /*uRva*/, 0 /*cb*/, 0 /*fFlags*/, NULL);
H A DDBGCEmulateCodeView.cpp4082 if (SegInfo.uRva != RTUINTPTR_MAX)
4084 (RTGCUINTPTR)(aMappings[0].Address + SegInfo.uRva),
/vbox/include/iprt/
H A Ddbg.h91 RTUINTPTR uRva; member in struct:RTDBGSEGMENT
1079 * @param uRva The image relative address to convert.
1082 RTDECL(RTDBGSEGIDX) RTDbgModRvaToSegOff(RTDBGMOD hDbgMod, RTUINTPTR uRva, PRTUINTPTR poffSeg);
1134 * @retval VERR_DBG_ADDRESS_WRAP if uRva+cb wraps around.
1141 * @param uRva The image relative address of the segment.
1151 RTDECL(int) RTDbgModSegmentAdd(RTDBGMOD hDbgMod, RTUINTPTR uRva, RTUINTPTR cb, const char *pszName,
/vbox/src/VBox/Runtime/common/ldr/
H A DldrPE.cpp256 * @param uRva The RVA to read at.
261 static int rtldrPEReadPartByRva(PRTLDRMODPE pThis, const void *pvBits, uint32_t uRva, uint32_t cbMem, void const **ppvMem) argument
272 *ppvMem = (uint8_t const *)pvBits + uRva;
277 *ppvMem = (uint8_t const *)pThis->pvBits + uRva;
297 uint32_t offFile = uRva;
301 if (uRva < pThis->paSections[0].VirtualAddress)
304 cbToRead = pThis->paSections[0].VirtualAddress - uRva;
329 offSection = uRva - pThis->paSections[j].VirtualAddress;
377 uRva += cbToAdv;
431 * @param uRva Th
437 rtldrPEReadPart(PRTLDRMODPE pThis, const void *pvBits, RTFOFF offFile, RTLDRADDR uRva, uint32_t cbMem, void const **ppvMem) argument
[all...]

Completed in 130 milliseconds