Home
last modified time | relevance | path

Searched refs:st_info (Results 1 – 25 of 45) sorted by relevance

12

/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h230 unsigned char st_info; ///< Symbol type and binding attributes. member
237 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
240 unsigned char getType() const { return st_info & 0x0F; } in getType()
244 st_info = (binding << 4) + (type & 0x0F); in setBindingAndType()
DELFHeader.cpp311 st_info, in Dump()
337 if (data.GetU8(offset, &st_info, 2) == NULL) in Parse()
347 if (data.GetU8(offset, &st_info, 2) == NULL) in Parse()
/external/elfutils/tests/
Ddwflsyms.c34 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
58 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
74 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
151 if (GELF_ST_TYPE (sym.st_info) == STT_FUNC && shndxp != SHN_UNDEF) in list_syms()
Dasm-tst8.c166 if (GELF_ST_TYPE (sym->st_info) != STT_FILE) in main()
169 (unsigned int) GELF_ST_TYPE (sym->st_info)); in main()
Dsectiondump.c180 GELF_ST_TYPE (sym->st_info)); in print_symtab()
Dasm-tst3.c309 if (sym->st_info != info[inner]) in main()
/external/llvm/include/llvm/Support/
DELF.h799 unsigned char st_info; // Symbol's type and binding attributes member
805 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
806 unsigned char getType() const { return st_info & 0x0f; } in getType()
810 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
817 unsigned char st_info; // Symbol's type and binding attributes member
825 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
826 unsigned char getType() const { return st_info & 0x0f; } in getType()
830 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/valgrind/VEX/unused/
Dlinker.c454 if (ELF_ST_BIND(sym.st_info) == STB_LOCAL) { in do_Elf_Rel_relocations()
589 if (ELF_ST_BIND(sym.st_info) == STB_LOCAL) { in do_Elf_Rela_relocations()
598 if (S && ELF_ST_TYPE(sym.st_info) == STT_FUNC) { in do_Elf_Rela_relocations()
611 if (S && (ELF_ST_TYPE(sym.st_info) == STT_FUNC) && (A != 0)) in do_Elf_Rela_relocations()
912 switch (ELF_ST_TYPE(stab[j].st_info)) { in ocVerifyImage_ELF()
923 switch (ELF_ST_BIND(stab[j].st_info)) { in ocVerifyImage_ELF()
1068 if ( ( ELF_ST_BIND(stab[j].st_info)==STB_GLOBAL in ocGetNames_ELF()
1069 || ELF_ST_BIND(stab[j].st_info)==STB_LOCAL in ocGetNames_ELF()
1077 ( ELF_ST_TYPE(stab[j].st_info)==STT_FUNC || in ocGetNames_ELF()
1078 ELF_ST_TYPE(stab[j].st_info)==STT_OBJECT || in ocGetNames_ELF()
[all …]
/external/valgrind/VEX/switchback/
Dlinker.c550 if (ELF_ST_BIND(sym.st_info) == STB_LOCAL) {
696 if (ELF_ST_BIND(sym.st_info) == STB_LOCAL) {
705 if (S && ELF_ST_TYPE(sym.st_info) == STT_FUNC) {
718 if (S && (ELF_ST_TYPE(sym.st_info) == STT_FUNC) && (A != 0))
1075 switch (ELF_ST_TYPE(stab[j].st_info)) {
1086 switch (ELF_ST_BIND(stab[j].st_info)) {
1235 if ( ( ELF_ST_BIND(stab[j].st_info)==STB_GLOBAL
1236 || ELF_ST_BIND(stab[j].st_info)==STB_LOCAL
1244 ( ELF_ST_TYPE(stab[j].st_info)==STT_FUNC ||
1245 ELF_ST_TYPE(stab[j].st_info)==STT_OBJECT ||
[all …]
/external/elfutils/src/
Dnm.c809 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
863 GELF_ST_BIND (syms[cnt].sym.st_info), in show_symbols_sysv()
865 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv()
885 int local_p = GELF_ST_BIND (sym->st_info) == STB_LOCAL; in class_type_char()
895 char result = "NDTSFBD "[GELF_ST_TYPE (sym->st_info)]; in class_type_char()
901 && GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE) in class_type_char()
951 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_bsd()
974 bool is_tls = GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_TLS; in show_symbols_bsd()
975 bool is_weak = GELF_ST_BIND (syms[cnt].sym.st_info) == STB_WEAK; in show_symbols_bsd()
1111 ? (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_TLS in show_symbols_posix()
[all …]
Dldgeneric.c557 if (XELF_ST_TYPE (sym->st_info) != STT_NOTYPE && oldp->type != STT_NOTYPE in check_type_and_size()
558 && unlikely (oldp->type != XELF_ST_TYPE (sym->st_info))) in check_type_and_size()
569 ebl_symbol_type_name (ld_state.ebl, XELF_ST_TYPE (sym->st_info), in check_type_and_size()
573 else if (XELF_ST_TYPE (sym->st_info) == STT_OBJECT in check_type_and_size()
670 ebl_symbol_type_name (ld_state.ebl, XELF_ST_TYPE (sym->st_info), in check_definition()
743 oldp->type = XELF_ST_TYPE (sym->st_info); in check_definition()
755 oldp->weak = XELF_ST_BIND (sym->st_info) == STB_WEAK; in check_definition()
1269 if (XELF_ST_TYPE (sym->st_info) == STT_SECTION) in add_relocatable_file()
1417 if (XELF_ST_TYPE (sym->st_info) != STT_SECTION in add_relocatable_file()
1421 || XELF_ST_TYPE (sym->st_info) == STT_TLS)) in add_relocatable_file()
[all …]
Delflint.c663 if (sym->st_info != 0) in check_symtab()
731 if (GELF_ST_TYPE (sym->st_info) >= STT_NUM in check_symtab()
732 && !ebl_symbol_type_name (ebl, GELF_ST_TYPE (sym->st_info), NULL, 0)) in check_symtab()
736 if (GELF_ST_BIND (sym->st_info) >= STB_NUM in check_symtab()
737 && !ebl_symbol_binding_name (ebl, GELF_ST_BIND (sym->st_info), NULL, in check_symtab()
742 if (GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE in check_symtab()
743 && GELF_ST_TYPE (sym->st_info) != STT_OBJECT) in check_symtab()
759 if (GELF_R_TYPE (sym->st_info) == STT_FUNC) in check_symtab()
775 if (GELF_ST_TYPE (sym->st_info) == STT_FUNC in check_symtab()
776 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)) in check_symtab()
[all …]
/external/elfutils/libdwfl/
Ddwfl_module_addrsym.c112 switch (GELF_ST_BIND (symp->st_info)) in binding_value()
211 && GELF_ST_TYPE (sym.st_info) != STT_SECTION in search_table()
212 && GELF_ST_TYPE (sym.st_info) != STT_FILE in search_table()
213 && GELF_ST_TYPE (sym.st_info) != STT_TLS) in search_table()
Ddwfl_module_getsym.c125 && (GELF_ST_TYPE (sym->st_info) == STT_FUNC in __libdwfl_getsym()
126 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in __libdwfl_getsym()
/external/llvm/include/llvm/Object/
DELFTypes.h145 unsigned char st_info; // Symbol's type and binding attributes
154 unsigned char st_info; // Symbol's type and binding attributes
163 using Elf_Sym_Base<ELFT>::st_info;
170 unsigned char getBinding() const { return st_info >> 4; }
171 unsigned char getType() const { return st_info & 0x0f; }
176 st_info = (b << 4) + (t & 0x0f);
/external/elfutils/libelf/
Dabstract.h116 TYPE_EXTRA (unsigned char st_info;) \
117 TYPE_XLATE (tdest->st_info = tsrc->st_info;) \
125 TYPE_EXTRA (unsigned char st_info;) \
126 TYPE_XLATE (tdest->st_info = tsrc->st_info;) \
Dgelf_getsym.c85 COPY (st_info); in gelf_getsym()
Dgelf_update_sym.c91 COPY (st_info); in gelf_update_sym()
Dgelf_getsymshndx.c104 COPY (st_info); in gelf_getsymshndx()
Dgelf_update_symshndx.c116 COPY (st_info); in gelf_update_symshndx()
Dnlist.c191 nl->n_type = GELF_ST_TYPE (found->sym.st_info); in nlist()
/external/libunwind/src/
Delfxx.c195 GET_SYM_FIELD(ei, sym_offset, &sym, st_info); in elf_w()
198 if (ELF_W (ST_TYPE) (sym.st_info) == STT_FUNC && sym.st_shndx != SHN_UNDEF) { in elf_w()
207 Debug (16, "0x%016lx info=0x%02x\n", (long) val, sym.st_info); in elf_w()
341 if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { in elf_w()
349 Debug (16, "0x%016lx info=0x%02x\n", (long) val, sym->st_info); in elf_w()
/external/kernel-headers/original/uapi/linux/
Delf.h186 unsigned char st_info; member
193 unsigned char st_info; /* Type and binding attributes */ member
/external/valgrind/coregrind/m_debuginfo/
Dreadelf.c170 switch (ELFXX_ST_BIND(sym->st_info)) { in show_raw_elf_symbol()
178 switch (ELFXX_ST_TYPE(sym->st_info)) { in show_raw_elf_symbol()
280 = (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL in get_elf_symbol_info()
281 || ELFXX_ST_BIND(sym->st_info) == STB_LOCAL in get_elf_symbol_info()
282 || ELFXX_ST_BIND(sym->st_info) == STB_WEAK in get_elf_symbol_info()
285 (ELFXX_ST_TYPE(sym->st_info) == STT_FUNC in get_elf_symbol_info()
286 || ELFXX_ST_TYPE(sym->st_info) == STT_OBJECT in get_elf_symbol_info()
288 || ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC in get_elf_symbol_info()
375 && ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC) { in get_elf_symbol_info()
386 && ELFXX_ST_TYPE(sym->st_info) == STT_NOTYPE in get_elf_symbol_info()
/external/compiler-rt/lib/cfi/
Dcfi.cc152 assert(p->st_info == ELF32_ST_INFO(STB_GLOBAL, STT_FUNC)); in find_cfi_check_in_dso()

12