Lines Matching refs:Elf
1575 Elf *E = elf_memory(ImgBegin, ImgSize); in elfEFlags()
1604 Elf64_Shdr *findOnlyShtHash(Elf *Elf) { in findOnlyShtHash() argument
1606 int Rc = elf_getshdrnum(Elf, &N); in findOnlyShtHash()
1613 Elf_Scn *Scn = elf_getscn(Elf, I); in findOnlyShtHash()
1631 const Elf64_Sym *elfLookup(Elf *Elf, char *Base, Elf64_Shdr *SectionHash, in elfLookup() argument
1637 elf64_getshdr(elf_getscn(Elf, SectionSymtabIndex)); in elfLookup()
1658 char *N = elf_strptr(Elf, SectionStrtabIndex, Symtab[I].st_name); in elfLookup()
1673 int getSymbolInfoWithoutLoading(Elf *Elf, char *Base, const char *Symname, in getSymbolInfoWithoutLoading() argument
1675 if (elf_kind(Elf) != ELF_K_ELF) { in getSymbolInfoWithoutLoading()
1679 Elf64_Shdr *SectionHash = findOnlyShtHash(Elf); in getSymbolInfoWithoutLoading()
1684 const Elf64_Sym *Sym = elfLookup(Elf, Base, SectionHash, Symname); in getSymbolInfoWithoutLoading()
1697 Elf_Scn *Section = elf_getscn(Elf, Sym->st_shndx); in getSymbolInfoWithoutLoading()
1715 Elf *Elf = elf_memory(Base, ImgSize); in getSymbolInfoWithoutLoading() local
1716 if (Elf) { in getSymbolInfoWithoutLoading()
1717 int Rc = getSymbolInfoWithoutLoading(Elf, Base, Symname, Res); in getSymbolInfoWithoutLoading()
1718 elf_end(Elf); in getSymbolInfoWithoutLoading()