Lines Matching refs:sym
85 void insert(const Symbol& sym) { in insert() argument
86 VIXL_ASSERT(find(sym.GetAddress()) == end()); in insert()
88 std::make_pair(sym.GetMemoryAddress(), sym)); in insert()
135 const Elf32_Sym* sym = reinterpret_cast<const Elf32_Sym*>( in LocateSymbols() local
138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols()
139 (sym[snum].st_value != 0) && in LocateSymbols()
140 (shdr[sym[snum].st_shndx].sh_type == SHT_PROGBITS) && in LocateSymbols()
141 ((ELF32_ST_BIND(sym[snum].st_info) == STB_LOCAL) || in LocateSymbols()
142 (ELF32_ST_BIND(sym[snum].st_info) == STB_GLOBAL)) && in LocateSymbols()
143 (ELF32_ST_TYPE(sym[snum].st_info) == STT_FUNC)) { in LocateSymbols()
144 visitor->visit(symnames + sym[snum].st_name, sym[snum]); in LocateSymbols()
156 void visit(const char* symname, const Elf32_Sym& sym) { in visit() argument
158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); in visit()
174 void visit(const char* symname, const Elf32_Sym& sym) { in visit() argument
177 sym.st_value, in visit()
178 shdr_[sym.st_shndx].sh_offset, in visit()
179 sym.st_size, in visit()
180 sym.st_shndx)); in visit()
184 sym.st_value, in visit()
185 shdr_[sym.st_shndx].sh_offset - shdr_[sym.st_shndx].sh_addr, in visit()
186 sym.st_size, in visit()
187 sym.st_shndx)); in visit()