Lines Matching defs:aSections

452     } aSections[krtDbgModDwarfSect_End];
1416 if (pThis->aSections[enmSect].pv)
1423 if (!pThis->aSections[enmSect].fPresent)
1425 Assert(pThis->aSections[enmSect].cb);
1428 if (!pThis->aSections[enmSect].cb)
1434 if (pThis->aSections[enmSect].offFile < 0)
1441 pThis->aSections[enmSect].iDbgInfo,
1442 pThis->aSections[enmSect].offFile,
1443 pThis->aSections[enmSect].cb,
1444 &pThis->aSections[enmSect].pv);
1458 if (!pThis->aSections[enmSect].pv)
1461 int rc = pThis->pDbgInfoMod->pImgVt->pfnUnmapPart(pThis->pDbgInfoMod, pThis->aSections[enmSect].cb, &pThis->aSections[enmSect].pv);
2069 size_t off = pCursor->pb - (uint8_t const *)pCursor->pDwarfMod->aSections[pCursor->enmSect].pv;
2193 pCursor->pbStart = (uint8_t const *)pThis->aSections[enmSect].pv;
2195 pCursor->cbLeft = pThis->aSections[enmSect].cb;
2221 if (offSect > pThis->aSections[enmSect].cb)
2223 Log(("rtDwarfCursor_InitWithOffset: offSect=%#x cb=%#x enmSect=%d\n", offSect, pThis->aSections[enmSect].cb, enmSect));
2801 if (!pThis->aSections[krtDbgModDwarfSect_line].fPresent)
3062 if (offDebugStr >= pThis->aSections[krtDbgModDwarfSect_str].cb)
3069 if (!pThis->aSections[krtDbgModDwarfSect_str].pv)
3080 return (const char *)pThis->aSections[krtDbgModDwarfSect_str].pv + (size_t)offDebugStr;
3232 if (off >= pThis->aSections[krtDbgModDwarfSect_ranges].cb)
3238 if (!pThis->aSections[krtDbgModDwarfSect_ranges].pv)
3254 pRange->pbRanges = (uint8_t const *)pThis->aSections[krtDbgModDwarfSect_ranges].pv + (size_t)off;
3297 if (off >= pCursor->pDwarfMod->aSections[krtDbgModDwarfSect_info].cb)
3355 size_t cbSect = pCursor->pDwarfMod->aSections[enmSect].cb;
4462 if (pThis->aSections[krtDbgModDwarfSect_pubnames].fPresent)
4637 for (unsigned iSect = 0; iSect < RT_ELEMENTS(pThis->aSections); iSect++)
4638 if (pThis->aSections[iSect].pv)
4639 pThis->pDbgInfoMod->pImgVt->pfnUnmapPart(pThis->pDbgInfoMod, pThis->aSections[iSect].cb, &pThis->aSections[iSect].pv);
4728 AssertMsgReturn(!pThis->aSections[enmSect].fPresent, ("duplicate %s\n", pszSection), VINF_SUCCESS /*ignore*/);
4730 pThis->aSections[enmSect].fPresent = true;
4731 pThis->aSections[enmSect].offFile = pDbgInfo->offFile;
4732 pThis->aSections[enmSect].pv = NULL;
4733 pThis->aSections[enmSect].cb = (size_t)pDbgInfo->cb;
4734 pThis->aSections[enmSect].iDbgInfo = pDbgInfo->iDbgInfo;
4735 if (pThis->aSections[enmSect].cb != pDbgInfo->cb)
4736 pThis->aSections[enmSect].cb = ~(size_t)0;
4847 if (pThis->aSections[krtDbgModDwarfSect_info].fPresent)
4885 for (unsigned iSect = 0; iSect < RT_ELEMENTS(pThis->aSections); iSect++)
4886 if (pThis->aSections[iSect].pv)
4887 pThis->pDbgInfoMod->pImgVt->pfnUnmapPart(pThis->pDbgInfoMod, pThis->aSections[iSect].cb,
4888 &pThis->aSections[iSect].pv);