Home
last modified time | relevance | path

Searched refs:st_info (Results 1 - 25 of 64) sorted by relevance

123

/third_party/elfutils/src/
H A Dnm.c789 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
803 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_sysv()
855 GELF_ST_BIND (syms[cnt].sym.st_info), in show_symbols_sysv()
861 ebl_symbol_type_name (ebl, GELF_ST_TYPE (syms[cnt].sym.st_info), in show_symbols_sysv()
881 int local_p = GELF_ST_BIND (sym->st_info) == STB_LOCAL; in class_type_char()
891 char result = "NDTSFBD "[GELF_ST_TYPE (sym->st_info)]; in class_type_char()
897 && GELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE) in class_type_char()
899 else if (GELF_ST_BIND (sym->st_info) == STB_WEAK) in class_type_char()
919 if (GELF_ST_BIND (sym->st_info) == STB_WEAK) in class_type_char()
956 if (GELF_ST_TYPE (syms[cnt].sym.st_info) in show_symbols_bsd()
[all...]
/third_party/elfutils/tests/
H A Ddwflsyms.c33 switch (GELF_ST_TYPE (sym->st_info)) in gelf_type()
57 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind()
73 switch (GELF_ST_BIND (sym->st_info)) in gelf_bind_order()
150 if (GELF_ST_TYPE (sym.st_info) == STT_FUNC && shndxp != SHN_UNDEF) in list_syms()
H A Dasm-tst8.c167 if (GELF_ST_TYPE (sym->st_info) != STT_FILE) in main()
170 (unsigned int) GELF_ST_TYPE (sym->st_info)); in main()
/third_party/elfutils/backends/
H A Daarch64_symbol.c107 && sym->st_size == 0 && GELF_ST_BIND (sym->st_info) == STB_LOCAL in aarch64_data_marker_symbol()
108 && GELF_ST_TYPE (sym->st_info) == STT_NOTYPE in aarch64_data_marker_symbol()
H A Darm_symbol.c157 && sym->st_size == 0 && GELF_ST_BIND (sym->st_info) == STB_LOCAL in arm_data_marker_symbol()
158 && GELF_ST_TYPE (sym->st_info) == STT_NOTYPE in arm_data_marker_symbol()
/third_party/elfutils/libdwfl/
H A Ddwfl_module_addrsym.c116 switch (GELF_ST_BIND (symp->st_info)) in binding_value()
215 && GELF_ST_TYPE (sym.st_info) != STT_SECTION in search_table()
216 && GELF_ST_TYPE (sym.st_info) != STT_FILE in search_table()
217 && GELF_ST_TYPE (sym.st_info) != STT_TLS) in search_table()
H A Ddwfl_module_getsym.c129 && (GELF_ST_TYPE (sym->st_info) == STT_FUNC in __libdwfl_getsym()
130 || (GELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in __libdwfl_getsym()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Delf_mem_image.cc48 int ElfBind(const ElfW(Sym) *symbol) { return ELF32_ST_BIND(symbol->st_info); }
49 int ElfType(const ElfW(Sym) *symbol) { return ELF32_ST_TYPE(symbol->st_info); }
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); }
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dvdso.rs270 if (ELF_ST_TYPE(sym.st_info) != STT_FUNC &&
271 ELF_ST_TYPE(sym.st_info) != STT_NOTYPE)
272 || (ELF_ST_BIND(sym.st_info) != STB_GLOBAL
273 && ELF_ST_BIND(sym.st_info) != STB_WEAK)
/third_party/ltp/libs/libltpvdso/
H A Dparse_vdso.c243 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
245 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
246 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DELF.h828 unsigned char st_info; // Symbol's type and binding attributes member
834 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
835 unsigned char getType() const { return st_info & 0x0f; } in getType()
839 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
846 unsigned char st_info; // Symbol's type and binding attributes member
854 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
855 unsigned char getType() const { return st_info & 0x0f; } in getType()
859 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DELF.h995 unsigned char st_info; // Symbol's type and binding attributes member
1001 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1002 unsigned char getType() const { return st_info & 0x0f; } in getType()
1006 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
1013 unsigned char st_info; // Symbol's type and binding attributes member
1021 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1022 unsigned char getType() const { return st_info & 0x0f; } in getType()
1026 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/third_party/elfio/elfio/
H A Delfio_symbols.hpp459 bind = ELF_ST_BIND( pSym->st_info ); in generic_get_symbol()
460 type = ELF_ST_TYPE( pSym->st_info ); in generic_get_symbol()
487 entry.st_info = convertor( info ); in generic_add_symbol()
519 if ( ELF_ST_BIND( convertor( p1->st_info ) ) != STB_LOCAL ) in generic_arrange_local_symbols()
527 if ( ELF_ST_BIND( convertor( p2->st_info ) ) == STB_LOCAL ) in generic_arrange_local_symbols()
/third_party/elfutils/libelf/
H A 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;) \
H A Dgelf_update_sym.c88 /* Please note that we can simply copy the `st_info' element since in gelf_update_sym()
91 COPY (st_info); in gelf_update_sym()
H A Dgelf_getsym.c82 /* Please note that we can simply copy the `st_info' element since in gelf_getsym()
85 COPY (st_info); in gelf_getsym()
/third_party/musl/src/internal/linux/
H A Dvdso.c108 if (!(1<<(vdso_info.syms[i].st_info&0xf) & OK_TYPES)) continue; in __get_vdso_addr()
109 if (!(1<<(vdso_info.syms[i].st_info>>4) & OK_BINDS)) continue; in __get_vdso_addr()
/third_party/musl/porting/linux/user/src/internal/
H A Dvdso.c108 if (!(1<<(vdso_info.syms[i].st_info&0xf) & OK_TYPES)) continue; in __get_vdso_addr()
109 if (!(1<<(vdso_info.syms[i].st_info>>4) & OK_BINDS)) continue; in __get_vdso_addr()
/third_party/musl/src/internal/
H A Dvdso.c81 if (!(1<<(syms[i].st_info&0xf) & OK_TYPES)) continue; in __vdsosym()
82 if (!(1<<(syms[i].st_info>>4) & OK_BINDS)) continue; in __vdsosym()
/third_party/vixl/examples/aarch32/
H A Ddisasm-a32.cc141 ((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()
/third_party/libbpf/src/
H A Delf.c204 if (GELF_ST_TYPE(sym->st_info) != iter->st_type) in elf_sym_iter_next()
218 if(((sym->st_info) & 0xf) != iter->st_type) { in elf_sym_iter_next()
405 cur_bind = GELF_ST_BIND(sym->sym.st_info); in elf_find_func_offset()
525 int bind = GELF_ST_BIND(sym->sym.st_info); in elf_resolve_syms_offsets()
H A Dlinker.c431 init_sym->st_info = 0; in init_output_elf()
789 int sym_type = ELF64_ST_TYPE(sym->st_info); in linker_sanity_check_elf_symtab()
790 int sym_bind = ELF64_ST_BIND(sym->st_info); in linker_sanity_check_elf_symtab()
794 if (sym->st_name != 0 || sym->st_info != 0 in linker_sanity_check_elf_symtab()
1794 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind()
1799 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1823 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1824 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELFTypes.h170 unsigned char st_info; // Symbol's type and binding attributes member
179 unsigned char st_info; // Symbol's type and binding attributes member
188 using Elf_Sym_Base<ELFT>::st_info;
195 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
196 unsigned char getType() const { return st_info & 0x0f; } in getType()
202 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/third_party/musl/porting/liteos_a/user/ldso/
H A Ddynlink.c315 if (need_def || (sym->st_info&0xf) == STT_TLS in find_sym2()
319 if ((sym->st_info&0xf) != STT_TLS) in find_sym2()
321 if (!(1<<(sym->st_info&0xf) & OK_TYPES)) continue; in find_sym2()
322 if (!(1<<(sym->st_info>>4) & OK_BINDS)) continue; in find_sym2()
385 def = (sym->st_info>>4) == STB_LOCAL in do_relocs()
389 || sym->st_info>>4 != STB_WEAK)) { in do_relocs()
449 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
993 if ((p->syms[i].st_info&0xf)==STT_FUNC && p->syms[i].st_shndx) { in makefuncdescs()
2245 if ((def.sym->st_info&0xf) == STT_TLS) in do_dlsym()
2247 if (DL_FDPIC && (def.sym->st_info in do_dlsym()
[all...]
/third_party/musl/porting/liteos_a/user_debug/ldso/
H A Ddynlink.c315 if (need_def || (sym->st_info&0xf) == STT_TLS in find_sym2()
319 if ((sym->st_info&0xf) != STT_TLS) in find_sym2()
321 if (!(1<<(sym->st_info&0xf) & OK_TYPES)) continue; in find_sym2()
322 if (!(1<<(sym->st_info>>4) & OK_BINDS)) continue; in find_sym2()
385 def = (sym->st_info>>4) == STB_LOCAL in do_relocs()
389 || sym->st_info>>4 != STB_WEAK)) { in do_relocs()
449 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
993 if ((p->syms[i].st_info&0xf)==STT_FUNC && p->syms[i].st_shndx) { in makefuncdescs()
2244 if ((def.sym->st_info&0xf) == STT_TLS) in do_dlsym()
2246 if (DL_FDPIC && (def.sym->st_info in do_dlsym()
[all...]

Completed in 26 milliseconds

123