/development/vndk/tools/header-checker/header-abi-util/src/ |
so_file_parser.cpp | 57 bool ELFSoFileParser<T>::IsSymbolExported(const Elf_Sym *elf_sym) const { 59 unsigned char visibility = elf_sym->getVisibility(); 60 unsigned char binding = elf_sym->getBinding(); 71 const Elf_Sym *elf_sym = local 73 assert (elf_sym != nullptr); 74 if (!IsSymbolExported(elf_sym) || elf_sym->isUndefined()) {
|
/external/syslinux/com32/include/sys/i386/ |
module.h | 29 typedef Elf32_Sym Elf_Sym;
|
/external/syslinux/com32/include/sys/x86_64/ |
module.h | 29 typedef Elf64_Sym Elf_Sym;
|
/external/syslinux/com32/lib/sys/module/ |
common.h | 29 static inline Elf_Sym *symbol_get_entry(struct elf_module *module, int entry) 34 return (Elf_Sym *)(sym_table + index);
|
common.c | 48 Elf_Sym *crt_sym; 52 crt_sym = (Elf_Sym*)(module->sym_table + i*module->syment_size); 317 Elf_Sym *crt_sym = NULL, *ref_sym = NULL; 457 static Elf_Sym *module_find_symbol_sysv(const char *name, struct elf_module *module) { 468 Elf_Sym *crt_sym; 483 static Elf_Sym *module_find_symbol_gnu(const char *name, struct elf_module *module) { 527 Elf_Sym *crt_sym = symbol_get_entry(module, (hasharr - gnu_chain_zero)); 540 static Elf_Sym *module_find_symbol_iterate(const char *name,struct elf_module *module) 544 Elf_Sym *crt_sym; 558 Elf_Sym *module_find_symbol(const char *name, struct elf_module *module) [all...] |
/external/llvm/include/llvm/Object/ |
ELF.h | 45 typedef Elf_Sym_Impl<ELFT> Elf_Sym; 96 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel, 118 const Elf_Sym *symbol_begin(const Elf_Shdr *Sec) const { 121 if (Sec->sh_entsize != sizeof(Elf_Sym)) 123 return reinterpret_cast<const Elf_Sym *>(base() + Sec->sh_offset); 125 const Elf_Sym *symbol_end(const Elf_Shdr *Sec) const { 129 if (Size % sizeof(Elf_Sym)) 131 return symbol_begin(Sec) + Size / sizeof(Elf_Sym); 188 uint32_t getExtendedSymbolTableIndex(const Elf_Sym *Sym, 191 uint32_t getExtendedSymbolTableIndex(const Elf_Sym *Sym [all...] |
/art/runtime/ |
elf_file_impl.h | 41 using Elf_Sym = typename ElfTypes::Sym; 93 Elf_Sym* GetSymbol(Elf_Word section_type, Elf_Word i) const; 144 Elf_Sym* GetSymbolSectionStart(Elf_Word section_type) const; 154 typedef std::map<std::string, Elf_Sym*> SymbolTable; 159 const Elf_Sym* FindDynamicSymbol(const std::string& symbol_name) const; 178 Elf_Sym* FindSymbolByName(Elf_Word section_type, 211 Elf_Sym* symtab_section_start_; 212 Elf_Sym* dynsym_section_start_;
|
/development/vndk/tools/definition-tool/tools/ |
remove_dt_needed.py | 27 class Elf_Sym(collections.namedtuple( 28 'ELF_Sym', 'st_name st_value st_size st_info st_other st_shndx')): 42 return self.st_bind == Elf_Sym.STB_LOCAL 46 return self.st_bind == Elf_Sym.STB_GLOBAL 50 return self.st_bind == Elf_Sym.STB_WEAK 54 return self.st_shndx == Elf_Sym.SHN_UNDEF
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Object/ |
ELF.h | 47 typedef typename ELFT::Sym Elf_Sym; 102 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 121 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 122 return getSectionContentsAsArray<Elf_Sym>(Sec); 143 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 145 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 148 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 153 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 193 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 210 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 112 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 131 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 132 return getSectionContentsAsArray<Elf_Sym>(Sec); 153 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 155 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 158 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 163 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 203 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 220 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 112 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 131 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 132 return getSectionContentsAsArray<Elf_Sym>(Sec); 153 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 155 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 158 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 163 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 203 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 220 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Object/ |
ELF.h | 47 typedef typename ELFT::Sym Elf_Sym; 102 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 121 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 122 return getSectionContentsAsArray<Elf_Sym>(Sec); 143 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 145 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 148 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 153 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 193 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 210 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 112 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 131 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 132 return getSectionContentsAsArray<Elf_Sym>(Sec); 153 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 155 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 158 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 163 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 203 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 220 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 112 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 131 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 132 return getSectionContentsAsArray<Elf_Sym>(Sec); 153 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 155 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 158 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 163 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 203 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 220 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Object/ |
ELF.h | 58 using Elf_Sym = typename ELFT::Sym; 114 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel, 133 return makeArrayRef<Elf_Sym>(nullptr, nullptr); 134 return getSectionContentsAsArray<Elf_Sym>(Sec); 159 Expected<uint32_t> getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 161 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 164 Expected<const Elf_Shdr *> getSection(const Elf_Sym *Sym, 169 Expected<const Elf_Sym *> getSymbol(const Elf_Shdr *Sec, 209 ELFFile<ELFT>::getSectionIndex(const Elf_Sym *Sym, Elf_Sym_Range Syms, 226 ELFFile<ELFT>::getSection(const Elf_Sym *Sym, const Elf_Shdr *SymTab [all...] |
/development/vndk/tools/header-checker/header-abi-util/include/ |
header_abi_util.h | 120 typedef typename ELFO::Elf_Sym Elf_Sym; 131 bool IsSymbolExported(const Elf_Sym *elf_sym) const;
|
/development/vndk/tools/definition-tool/tests/ |
test_elf.py | 13 from vndk_definition_tool import Elf_Sym, ELF 17 self.sym_local = Elf_Sym(0, 0, 4, 0, 0, 1) 18 self.sym_global = Elf_Sym(0, 0, 4, 17, 0, 1) 19 self.sym_weak = Elf_Sym(0, 0, 4, 33, 0, 1) 20 self.sym_undef = Elf_Sym(0, 0, 4, 16, 0, 0)
|
/external/swiftshader/third_party/LLVM/lib/Object/ |
ELFObjectFile.cpp | 262 typedef Elf_Sym_Impl<target_endianness, is64Bits> Elf_Sym; 299 DenseMap<const Elf_Sym*, ELF::Elf64_Word> ExtendedSymbolTable; 316 const Elf_Sym *getSymbol(DataRefImpl Symb) const; 323 error_code getSymbolName(const Elf_Sym *Symb, StringRef &Res) const; 378 ELF::Elf64_Word getSymbolTableIndex(const Elf_Sym *symb) const; 379 const Elf_Shdr *getSection(const Elf_Sym *symb) const; 386 const Elf_Sym *symb = getSymbol(Symb); 393 && symb >= (const Elf_Sym*)(base() 395 && symb < (const Elf_Sym*)(base() 431 const Elf_Sym *symb = getSymbol(Symb) [all...] |