Lines Matching defs:paSyms

119     const Elf_Sym          *paSyms;
153 pModElf->paSyms = (const Elf_Sym *)(pu8 + pModElf->paShdrs[pModElf->iSymSh].sh_offset);
230 const Elf_Sym *pSym = &pModElf->paSyms[iSym];
418 const Elf_Sym *pSym = &pModElf->paSyms[iSym];
710 const Elf_Sym *paSyms = pModElf->paSyms;
717 if (paSyms[iSym].st_shndx != SHN_UNDEF)
723 if (paSyms[iSym].st_shndx == SHN_ABS)
725 Value = paSyms[iSym].st_value;
726 else if (paSyms[iSym].st_shndx < pModElf->Ehdr.e_shnum)
730 Value = BaseAddr + paSyms[iSym].st_value + pModElf->paShdrs[paSyms[iSym].st_shndx].sh_addr;
732 Value = BaseAddr + paSyms[iSym].st_value - pModElf->LinkAddress;
736 AssertMsgFailed(("Arg! paSyms[%u].st_shndx=" FMT_ELF_HALF "\n", iSym, paSyms[iSym].st_shndx));
739 const char *pszName = ELF_STR(pModElf, paSyms[iSym].st_name);
742 || ELF_ST_BIND(paSyms[iSym].st_info) == STB_GLOBAL)
976 const Elf_Sym *paSyms = pModElf->paSyms;
984 if ( paSyms[iSym].st_shndx != SHN_UNDEF
985 && ( ELF_ST_BIND(paSyms[iSym].st_info) == STB_GLOBAL
986 || ELF_ST_BIND(paSyms[iSym].st_info) == STB_WEAK))
989 if (paSyms[iSym].st_name < pModElf->cbStr)
991 if (!strcmp(pszSymbol, pStr + paSyms[iSym].st_name))
994 return RTLDRELF_NAME(ReturnSymbol)(pModElf, &paSyms[iSym], uBaseAddr, pValue);
999 AssertMsgFailed(("String outside string table! iSym=%d paSyms[iSym].st_name=%#x\n", iSym, paSyms[iSym].st_name));
1007 if ( paSyms[iOrdinal].st_shndx != SHN_UNDEF
1008 && ( ELF_ST_BIND(paSyms[iOrdinal].st_info) == STB_GLOBAL
1009 || ELF_ST_BIND(paSyms[iOrdinal].st_info) == STB_WEAK))
1010 return RTLDRELF_NAME(ReturnSymbol)(pModElf, &paSyms[iOrdinal], uBaseAddr, pValue);
1768 //pModElf->paSyms = NULL;