Home
last modified time | relevance | path

Searched refs:st_info (Results 1 – 25 of 43) 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/src/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.h735 unsigned char st_info; // Symbol's type and binding attributes member
741 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
742 unsigned char getType() const { return st_info & 0x0f; } in getType()
746 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
753 unsigned char st_info; // Symbol's type and binding attributes member
761 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
762 unsigned char getType() const { return st_info & 0x0f; } in getType()
766 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/elfutils/src/libdwfl/
Ddwfl_module_addrsym.c125 switch (GELF_ST_BIND (symp->st_info)) in __libdwfl_addrsym()
206 && GELF_ST_TYPE (sym.st_info) != STT_SECTION in __libdwfl_addrsym()
207 && GELF_ST_TYPE (sym.st_info) != STT_FILE in __libdwfl_addrsym()
208 && GELF_ST_TYPE (sym.st_info) != STT_TLS) in __libdwfl_addrsym()
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/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/src/
Dnm.c806 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
860 GELF_ST_BIND (syms[cnt].sym.st_info), in show_symbols_sysv()
862 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv()
882 int local_p = GELF_ST_BIND (sym->st_info) == STB_LOCAL; in class_type_char()
892 char result = "NDTSFBD "[GELF_ST_TYPE (sym->st_info)]; in class_type_char()
898 && GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE) in class_type_char()
948 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_bsd()
971 bool is_tls = GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_TLS; in show_symbols_bsd()
972 bool is_weak = GELF_ST_BIND (syms[cnt].sym.st_info) == STB_WEAK; in show_symbols_bsd()
1108 ? (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.c660 if (sym->st_info != 0) in check_symtab()
728 if (GELF_ST_TYPE (sym->st_info) >= STT_NUM in check_symtab()
729 && !ebl_symbol_type_name (ebl, GELF_ST_TYPE (sym->st_info), NULL, 0)) in check_symtab()
733 if (GELF_ST_BIND (sym->st_info) >= STB_NUM in check_symtab()
734 && !ebl_symbol_binding_name (ebl, GELF_ST_BIND (sym->st_info), NULL, in check_symtab()
739 if (GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE in check_symtab()
740 && GELF_ST_TYPE (sym->st_info) != STT_OBJECT) in check_symtab()
756 if (GELF_R_TYPE (sym->st_info) == STT_FUNC) in check_symtab()
772 if (GELF_ST_TYPE (sym->st_info) == STT_FUNC in check_symtab()
773 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)) in check_symtab()
[all …]
/external/llvm/include/llvm/Object/
DELFTypes.h160 unsigned char st_info; // Symbol's type and binding attributes
169 unsigned char st_info; // Symbol's type and binding attributes
178 using Elf_Sym_Base<ELFT>::st_info;
183 unsigned char getBinding() const { return st_info >> 4; }
184 unsigned char getType() const { return st_info & 0x0f; }
188 st_info = (b << 4) + (t & 0x0f);
/external/elfutils/src/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.c88 COPY (st_info);
Dgelf_update_sym.c94 COPY (st_info);
Dgelf_getsymshndx.c108 COPY (st_info);
Dgelf_update_symshndx.c120 COPY (st_info);
Dnlist.c187 nl->n_type = GELF_ST_TYPE (found->sym.st_info); in nlist()
/external/libunwind/src/
Delfxx.c193 GET_SYM_FIELD(ei, sym_offset, &sym, st_info); in elf_w()
196 if (ELF_W (ST_TYPE) (sym.st_info) == STT_FUNC && sym.st_shndx != SHN_UNDEF) { in elf_w()
205 Debug (16, "0x%016lx info=0x%02x\n", (long) val, sym.st_info); in elf_w()
339 if (ELF_W (ST_TYPE) (sym->st_info) == STT_FUNC && sym->st_shndx != SHN_UNDEF) { in elf_w()
347 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.c167 switch (ELFXX_ST_BIND(sym->st_info)) { in show_raw_elf_symbol()
175 switch (ELFXX_ST_TYPE(sym->st_info)) { in show_raw_elf_symbol()
277 = (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL in get_elf_symbol_info()
278 || ELFXX_ST_BIND(sym->st_info) == STB_LOCAL in get_elf_symbol_info()
279 || ELFXX_ST_BIND(sym->st_info) == STB_WEAK in get_elf_symbol_info()
282 (ELFXX_ST_TYPE(sym->st_info) == STT_FUNC in get_elf_symbol_info()
283 || ELFXX_ST_TYPE(sym->st_info) == STT_OBJECT in get_elf_symbol_info()
285 || ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC in get_elf_symbol_info()
372 && ELFXX_ST_TYPE(sym->st_info) == STT_GNU_IFUNC) { in get_elf_symbol_info()
383 && ELFXX_ST_TYPE(sym->st_info) == STT_NOTYPE in get_elf_symbol_info()
/external/ltrace/sysdeps/linux-gnu/mips/
Dplt.c170 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) { in arch_get_sym_info()

12