Home
last modified time | relevance | path

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

1234

/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h228 unsigned char st_info; ///< Symbol type and binding attributes. member
235 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
238 unsigned char getType() const { return st_info & 0x0F; } in getType()
242 st_info = (binding << 4) + (type & 0x0F); in setBindingAndType()
DELFHeader.cpp313 idx, st_value, st_size, st_name, st_info, in Dump()
334 if (data.GetU8(offset, &st_info, 2) == nullptr) in Parse()
342 if (data.GetU8(offset, &st_info, 2) == nullptr) in Parse()
/external/elfutils/src/
Dnm.c793 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_SECTION) in show_symbols_sysv()
807 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_sysv()
859 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()
903 else if (GELF_ST_BIND (sym->st_info) == STB_WEAK) in class_type_char()
923 if (GELF_ST_BIND (sym->st_info) == STB_WEAK) in class_type_char()
960 if (GELF_ST_TYPE (syms[cnt].sym.st_info) == STT_FILE) in show_symbols_bsd()
[all …]
/external/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()
/external/llvm/include/llvm/Support/
DELF.h824 unsigned char st_info; // Symbol's type and binding attributes member
830 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
831 unsigned char getType() const { return st_info & 0x0f; } in getType()
835 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
842 unsigned char st_info; // Symbol's type and binding attributes member
850 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
851 unsigned char getType() const { return st_info & 0x0f; } in getType()
855 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/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()
/external/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()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DELF.h1022 unsigned char st_info; // Symbol's type and binding attributes member
1028 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1029 unsigned char getType() const { return st_info & 0x0f; } in getType()
1033 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
1040 unsigned char st_info; // Symbol's type and binding attributes member
1048 unsigned char getBinding() const { return st_info >> 4; } in getBinding()
1049 unsigned char getType() const { return st_info & 0x0f; } in getType()
1053 st_info = (b << 4) + (t & 0x0f); in setBindingAndType()
/external/elfutils/backends/
Darm_symbol.c155 && sym->st_size == 0 && GELF_ST_BIND (sym->st_info) == STB_LOCAL in arm_data_marker_symbol()
156 && GELF_ST_TYPE (sym->st_info) == STT_NOTYPE in arm_data_marker_symbol()
Daarch64_symbol.c105 && sym->st_size == 0 && GELF_ST_BIND (sym->st_info) == STB_LOCAL in aarch64_data_marker_symbol()
106 && GELF_ST_TYPE (sym->st_info) == STT_NOTYPE in aarch64_data_marker_symbol()
/external/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()
/external/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); }
/external/webrtc/third_party/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); }
/external/rust/crates/grpcio-sys/grpc/third_party/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); }
/external/openscreen/third_party/abseil/src/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); }
/external/libtextclassifier/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); }
/external/linux-kselftest/tools/testing/selftests/vDSO/
Dparse_vdso.c238 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
240 if (ELF64_ST_BIND(sym->st_info) != STB_GLOBAL && in vdso_sym()
241 ELF64_ST_BIND(sym->st_info) != STB_WEAK) in vdso_sym()
/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;) \
/external/llvm/include/llvm/Object/
DELFTypes.h196 unsigned char st_info; // Symbol's type and binding attributes
205 unsigned char st_info; // Symbol's type and binding attributes
214 using Elf_Sym_Base<ELFT>::st_info;
221 unsigned char getBinding() const { return st_info >> 4; }
222 unsigned char getType() const { return st_info & 0x0f; }
227 st_info = (b << 4) + (t & 0x0f);
/external/vixl/examples/aarch32/
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()
/external/libabigail/src/
Dabg-symtab-reader.cc294 const int sym_type = GELF_ST_TYPE(sym->st_info); in load_()
314 elf_helpers::stt_to_elf_symbol_type(GELF_ST_TYPE(sym->st_info)), in load_()
315 elf_helpers::stb_to_elf_symbol_binding(GELF_ST_BIND(sym->st_info)), in load_()
/external/llvm-project/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);
/external/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);

1234