Home
last modified time | relevance | path

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

1234

/third_party/elfutils/src/
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) == STT_FILE) in show_symbols_bsd()
[all …]
/third_party/elfutils/tests/
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()
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/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
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/
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/rust/crates/rustix/src/backend/linux_raw/
Dvdso.rs270 if (ELF_ST_TYPE(sym.st_info) != STT_FUNC && in sym()
271 ELF_ST_TYPE(sym.st_info) != STT_NOTYPE) in sym()
272 || (ELF_ST_BIND(sym.st_info) != STB_GLOBAL in sym()
273 && ELF_ST_BIND(sym.st_info) != STB_WEAK) in sym()
Delf.rs139 pub(super) st_info: u8, field
148 pub(super) st_info: u8, field
/third_party/elfutils/libdwfl/
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()
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/
Delf_mem_image.cc48 int ElfBind(const ElfW(Sym) *symbol) { return ELF32_ST_BIND(symbol->st_info); } in ElfBind()
49 int ElfType(const ElfW(Sym) *symbol) { return ELF32_ST_TYPE(symbol->st_info); } in ElfType()
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/elfutils/backends/
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()
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()
/third_party/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()
/third_party/elfio/elfio/
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/ltp/libs/libltpvdso/
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/musl/src/internal/
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/musl/porting/linux/user/src/internal/
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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h170 unsigned char st_info; // Symbol's type and binding attributes
179 unsigned char st_info; // Symbol's type and binding attributes
188 using Elf_Sym_Base<ELFT>::st_info;
195 unsigned char getBinding() const { return st_info >> 4; }
196 unsigned char getType() const { return st_info & 0x0f; }
202 st_info = (b << 4) + (t & 0x0f);
/third_party/libbpf/src/
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()
1782 sym->st_info = ELF64_ST_INFO(sym_bind, ELF64_ST_TYPE(sym->st_info)); in sym_update_bind()
1787 sym->st_info = ELF64_ST_INFO(ELF64_ST_BIND(sym->st_info), sym_type); in sym_update_type()
1811 sym_type = ELF64_ST_TYPE(sym->st_info); in linker_append_elf_sym()
1812 sym_bind = ELF64_ST_BIND(sym->st_info); in linker_append_elf_sym()
1961 dst_sym->st_info = sym->st_info; in linker_append_elf_sym()
2066 if (ELF64_ST_TYPE(src_sym->st_info) == STT_SECTION) { in linker_append_elf_relos()
[all …]
/third_party/libabigail/src/
Dabg-symtab-reader.cc346 const int sym_type = GELF_ST_TYPE(sym->st_info); in load_()
366 elf_helpers::stt_to_elf_symbol_type(GELF_ST_TYPE(sym->st_info)), in load_()
367 elf_helpers::stb_to_elf_symbol_binding(GELF_ST_BIND(sym->st_info)), in load_()
/third_party/musl/porting/liteos_a/user/ldso/
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&0xf) == STT_FUNC) in do_dlsym()
[all …]
/third_party/musl/porting/liteos_a/user_debug/ldso/
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&0xf) == STT_FUNC) in do_dlsym()
[all …]
/third_party/musl/ldso/
Ddynlink.c317 if (need_def || (sym->st_info&0xf) == STT_TLS in find_sym2()
321 if ((sym->st_info&0xf) != STT_TLS) in find_sym2()
323 if (!(1<<(sym->st_info&0xf) & OK_TYPES)) continue; in find_sym2()
324 if (!(1<<(sym->st_info>>4) & OK_BINDS)) continue; in find_sym2()
387 def = (sym->st_info>>4) == STB_LOCAL in do_relocs()
391 || sym->st_info>>4 != STB_WEAK)) { in do_relocs()
451 if ((sym->st_info&0xf) == STT_SECTION) *reloc_addr += sym_val; in do_relocs()
981 if ((p->syms[i].st_info&0xf)==STT_FUNC && p->syms[i].st_shndx) { in makefuncdescs()
2211 if ((def.sym->st_info&0xf) == STT_TLS) in do_dlsym()
2213 if (DL_FDPIC && (def.sym->st_info&0xf) == STT_FUNC) in do_dlsym()
[all …]

1234