Lines Matching refs:ElfW
48 int ElfBind(const ElfW(Sym) *symbol) { return ELF32_ST_BIND(symbol->st_info); } in ElfBind()
49 int ElfType(const ElfW(Sym) *symbol) { return ELF32_ST_TYPE(symbol->st_info); } in ElfType()
52 int ElfBind(const ElfW(Sym) *symbol) { return ELF64_ST_BIND(symbol->st_info); }
53 int ElfType(const ElfW(Sym) *symbol) { return ELF64_ST_TYPE(symbol->st_info); }
56 int ElfBind(const ElfW(Sym) *) {
60 int ElfType(const ElfW(Sym) *) {
70 const T *GetTableElement(const ElfW(Ehdr) * ehdr, ElfW(Off) table_offset, in GetTableElement()
71 ElfW(Word) element_size, size_t index) { in GetTableElement()
96 const ElfW(Sym) *ElfMemImage::GetDynsym(int index) const { in ElfW() function
101 const ElfW(Versym) *ElfMemImage::GetVersym(int index) const { in ElfW() function
106 const ElfW(Phdr) *ElfMemImage::GetPhdr(int index) const { in ElfW() function
108 return GetTableElement<ElfW(Phdr)>(ehdr_, in ElfW()
114 const char *ElfMemImage::GetDynstr(ElfW(Word) offset) const { in GetDynstr()
119 const void *ElfMemImage::GetSymAddr(const ElfW(Sym) *sym) const { in GetSymAddr()
128 const ElfW(Verdef) *ElfMemImage::GetVerdef(int index) const { in ElfW() function
131 const ElfW(Verdef) *version_definition = verdef_; in ElfW() local
136 reinterpret_cast<const ElfW(Verdef) *>(version_definition_as_char + in ElfW()
142 const ElfW(Verdaux) *ElfMemImage::GetVerdefAux( in ElfW() function
143 const ElfW(Verdef) *verdef) const { in ElfW()
144 return reinterpret_cast<const ElfW(Verdaux) *>(verdef+1); in ElfW()
147 const char *ElfMemImage::GetVerstr(ElfW(Word) offset) const { in GetVerstr()
197 ehdr_ = reinterpret_cast<const ElfW(Ehdr) *>(base); in Init()
198 const ElfW(Phdr) *dynamic_program_header = nullptr; in Init() local
200 const ElfW(Phdr) *const program_header = GetPhdr(i); in Init() local
220 ElfW(Dyn) *dynamic_entry = in Init()
221 reinterpret_cast<ElfW(Dyn) *>(dynamic_program_header->p_vaddr + in Init()
224 const ElfW(Xword) value = dynamic_entry->d_un.d_val + relocation; in Init() local
227 hash_ = reinterpret_cast<ElfW(Word) *>(value); in Init()
230 dynsym_ = reinterpret_cast<ElfW(Sym) *>(value); in Init()
236 versym_ = reinterpret_cast<ElfW(Versym) *>(value); in Init()
239 verdef_ = reinterpret_cast<ElfW(Verdef) *>(value); in Init()
349 const ElfW(Sym) *symbol = image->GetDynsym(index_); in Update() local
350 const ElfW(Versym) *version_symbol = image->GetVersym(index_); in Update() local
353 const ElfW(Versym) version_index = version_symbol[0] & VERSYM_VERSION; in Update() local
354 const ElfW(Verdef) *version_definition = nullptr; in Update() local
369 const ElfW(Verdaux) *version_aux = image->GetVerdefAux(version_definition); in Update() local