Lines Matching defs:pDieDesc

1026 static int rtDwarfInfo_ParseDie(PRTDBGMODDWARF pThis, PRTDWARFDIE pDie, PCRTDWARFDIEDESC pDieDesc,
3927 * @param pDieDesc The DIE descriptor.
3929 static void rtDwarfInfo_InitDie(PRTDWARFDIE pDie, PCRTDWARFDIEDESC pDieDesc)
3931 size_t i = pDieDesc->cAttributes;
3934 switch (pDieDesc->paAttributes[i].cbInit & ATTR_INIT_MASK)
3941 switch (pDieDesc->paAttributes[i].cbInit & ATTR_SIZE_MASK)
3944 *(uint8_t *)((uintptr_t)pDie + pDieDesc->paAttributes[i].off) = UINT8_MAX;
3947 *(uint16_t *)((uintptr_t)pDie + pDieDesc->paAttributes[i].off) = UINT16_MAX;
3950 *(uint32_t *)((uintptr_t)pDie + pDieDesc->paAttributes[i].off) = UINT32_MAX;
3953 *(uint64_t *)((uintptr_t)pDie + pDieDesc->paAttributes[i].off) = UINT64_MAX;
3957 memset((uint8_t *)pDie + pDieDesc->paAttributes[i].off, 0xff,
3958 pDieDesc->paAttributes[i].cbInit & ATTR_SIZE_MASK);
3975 * @param pDieDesc The DIE descriptor (for size and init).
3979 static PRTDWARFDIE rtDwarfInfo_NewDie(PRTDBGMODDWARF pThis, PCRTDWARFDIEDESC pDieDesc,
3983 Assert(pDieDesc->cbDie >= sizeof(RTDWARFDIE));
3985 uint32_t iAllocator = pDieDesc->cbDie > pThis->aDieAllocators[0].cbMax;
3986 Assert(pDieDesc->cbDie <= pThis->aDieAllocators[iAllocator].cbMax);
3989 PRTDWARFDIE pDie = (PRTDWARFDIE)RTMemAllocZ(pDieDesc->cbDie);
3994 RT_BZERO(pDie, pDieDesc->cbDie);
3997 rtDwarfInfo_InitDie(pDie, pDieDesc);
4157 * @param pDieDesc The DIE descriptor.
4165 static int rtDwarfInfo_ParseDie(PRTDBGMODDWARF pThis, PRTDWARFDIE pDie, PCRTDWARFDIEDESC pDieDesc,
4174 rtDwarfInfo_InitDie(pDie, pDieDesc);
4186 size_t i = pDieDesc->cAttributes;
4188 if (pDieDesc->paAttributes[i].uAttr == uAttr)
4190 pAttr = &pDieDesc->paAttributes[i];
4333 PCRTDWARFDIEDESC pDieDesc;
4339 pDieDesc = g_aTagDescs[pAbbrev->uTag].pDesc;
4344 pDieDesc = &g_CoreDieDesc;
4353 PRTDWARFDIE pNewDie = rtDwarfInfo_NewDie(pThis, pDieDesc, pAbbrev, pParentDie);
4363 rc = rtDwarfInfo_ParseDie(pThis, pNewDie, pDieDesc, pCursor, pAbbrev, true /*fInitDie*/);