Home
last modified time | relevance | path

Searched refs:st_value (Results 1 - 25 of 73) sorted by relevance

123

/third_party/elfutils/libdwfl/
H A Ddwfl_module_getsym.c126 GElf_Addr st_value = sym->st_value & ebl_func_addr_mask (mod->ebl); in __libdwfl_getsym() local
138 st_value = dwfl_adjusted_st_value (mod, elf, st_value); in __libdwfl_getsym()
139 st_value = dwfl_deadjust_st_value (mod, mod->main.elf, st_value); in __libdwfl_getsym()
142 *resolved = ebl_resolve_sym_value (mod->ebl, &st_value); in __libdwfl_getsym()
144 st_value = sym->st_value; in __libdwfl_getsym()
167 shndx, &st_value); in __libdwfl_getsym()
[all...]
H A Drelocate.c196 sym->st_value = 0; /* Value is size, not helpful. */ in relocate_getsym()
201 *shndx, &sym->st_value); in relocate_getsym()
303 sym->st_value = dwfl_adjusted_st_value (m, m->symfile->elf, in resolve_symbol()
304 sym->st_value); in resolve_symbol()
313 shndx, &sym->st_value); in resolve_symbol()
378 value = sym.st_value; in relocate()
/third_party/elfutils/tests/
H A Ddwflsyms.c129 sym.st_size, sym.st_value); in list_syms()
131 /* The info variant doesn't adjust st_value but returns the (possible) in list_syms()
143 assert (sym.st_value == isym.st_value in list_syms()
144 || sym.st_value == isym.st_value + bias in list_syms()
153 assert (addr_in_section (elf, shndxp, sym.st_value - bias)); in list_syms()
165 assert (addr_in_section (aelf, ashndxp, asym.st_value) in list_syms()
173 && value <= sym.st_value); in list_syms()
175 addr = sym.st_value; in list_syms()
[all...]
H A Dasm-tst8.c153 if (sym->st_value != 0xfeedbeef) in main()
156 (uintmax_t) sym->st_value); in main()
163 (uintmax_t) sym->st_value); in main()
H A Dasm-tst7.c152 if (sym->st_value != 16) in main()
155 (uintmax_t) sym->st_value); in main()
162 (uintmax_t) sym->st_value); in main()
H A Dvdsosyms.c61 i, sname, sym.st_value, addr); in module_callback()
/third_party/elfutils/backends/
H A Driscv_symbol.c88 /* Check whether given symbol's st_value and st_size are OK despite failing
108 && sym->st_value >= destshdr->sh_addr in riscv_check_special_symbol()
109 && sym->st_value < destshdr->sh_addr + destshdr->sh_size); in riscv_check_special_symbol()
116 && sym->st_value == destshdr->sh_addr + 0x800) in riscv_check_special_symbol()
H A Dppc_symbol.c136 /* Check whether given symbol's st_value and st_size are OK despite failing
150 return sym->st_value == gotaddr; in ppc_check_special_symbol()
169 && sym->st_value == destshdr->sh_addr + 0x8000) in ppc_check_special_symbol()
175 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
H A Ds390_symbol.c87 return (sym->st_value >= shdr->sh_addr in s390_check_special_symbol()
88 && sym->st_value < shdr->sh_addr + shdr->sh_size); in s390_check_special_symbol()
H A Daarch64_symbol.c90 return (sym->st_value >= shdr->sh_addr in aarch64_check_special_symbol()
91 && sym->st_value < shdr->sh_addr + shdr->sh_size); in aarch64_check_special_symbol()
/third_party/elfutils/src/
H A Dfindtextrel.c535 if (sym->st_value < addr && sym->st_value > lowaddr) in check_rel()
537 lowaddr = sym->st_value; in check_rel()
540 if (sym->st_value > addr && sym->st_value < highaddr) in check_rel()
542 highaddr = sym->st_value; in check_rel()
555 if (sym->st_value + sym->st_size > addr) in check_rel()
H A Dnm.c844 digits, syms[cnt].sym.st_value); in show_symbols_sysv()
1018 digits, syms[cnt].sym.st_value, in show_symbols_bsd()
1036 digits, syms[cnt].sym.st_value, in show_symbols_bsd()
1126 digits, syms[cnt].sym.st_value, in show_symbols_posix()
1146 int result = (s1->sym.st_value < s2->sym.st_value in sort_by_address()
1147 ? -1 : (s1->sym.st_value == s2->sym.st_value ? 0 : 1)); in sort_by_address()
1405 && lowpc <= sym->st_value in show_symbols()
1407 && highpc > sym->st_value) in show_symbols()
[all...]
/third_party/elfio/elfio/
H A Delfio_symbols.hpp153 return convertor( sym->st_value ) == value; in get_symbol()
160 return convertor( sym->st_value ) == value; in get_symbol()
457 value = convertor( pSym->st_value ); in generic_get_symbol()
483 entry.st_value = decltype( entry.st_value )( value ); in generic_add_symbol()
484 entry.st_value = convertor( entry.st_value ); in generic_add_symbol()
/third_party/elfutils/libelf/
H A Dgelf_update_sym.c67 if (unlikely (src->st_value > 0xffffffffull) in gelf_update_sym()
86 COPY (st_value); in gelf_update_sym()
H A Dgelf_update_symshndx.c92 if (unlikely (src->st_value > 0xffffffffull) in gelf_update_symshndx()
111 COPY (st_value); in gelf_update_symshndx()
H A Dgelf_getsym.c88 COPY (st_value); in gelf_getsym()
H A Dgelf_getsymshndx.c107 COPY (st_value); in gelf_getsymshndx()
/third_party/vixl/examples/aarch32/
H A Ddisasm-a32.cc139 (sym[snum].st_value != 0) && in LocateSymbols()
158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); in visit()
177 sym.st_value, in visit()
184 sym.st_value, in visit()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Delf_mem_image.cc122 return reinterpret_cast<const void *>(sym->st_value);
124 ABSL_RAW_CHECK(link_base_ < sym->st_value, "symbol out of range");
125 return GetTableElement<char>(ehdr_, 0, 1, sym->st_value - link_base_);
/third_party/musl/ldso/
H A Ddlstart.c91 + syms[R_SYM(rel[1])].st_value; in _dlstart_c()
94 size_t val = syms[R_SYM(rel[1])].st_value; in _dlstart_c()
/third_party/musl/porting/linux/user/ldso/
H A Dcfi.c250 LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value)); in cfi_slowpath_common()
251 ((cfi_check_t)LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value))(call_site_type_id, func_ptr, diag_data); in cfi_slowpath_common()
391 uintptr_t cfi_check = LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value); in add_dso_to_cfi_shadow()
/third_party/musl/ldso/linux/
H A Dcfi.c263 LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value)); in cfi_slowpath_common()
264 ((cfi_check_t)LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value))(call_site_type_id, func_ptr, diag_data); in cfi_slowpath_common()
429 uintptr_t cfi_check = LADDR(cfi_check_sym.dso, cfi_check_sym.sym->st_value); in add_dso_to_cfi_shadow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELFTypes.h168 Elf_Addr st_value; // Value or address associated with the symbol member
182 Elf_Addr st_value; // Value or address associated with the symbol member
191 using Elf_Sym_Base<ELFT>::st_value;
197 uint64_t getValue() const { return st_value; } in getValue()
/third_party/libbpf/src/
H A Dlinker.c434 init_sym->st_value = 0; in init_output_elf()
796 || sym->st_value != 0 || sym->st_size != 0) { in linker_sanity_check_elf_symtab()
814 || sym->st_value != 0 || sym->st_size != 0) { in linker_sanity_check_elf_symtab()
828 if (sym->st_value != 0) in linker_sanity_check_elf_symtab()
1945 dst_sym->st_value = src_sec->dst_off + sym->st_value; in linker_append_elf_sym()
1976 dst_sym->st_value = (src_sec ? src_sec->dst_off : 0) + sym->st_value; in linker_append_elf_sym()
1983 dst_sym->st_value = 0; in linker_append_elf_sym()
2211 vi->offset = sym->st_value; in linker_fixup_btf()
[all...]
/third_party/musl/porting/liteos_a/user/ldso/
H A Ddynlink.c318 if (!sym->st_value) in find_sym2()
408 sym_val = def.sym ? (size_t)laddr(def.dso, def.sym->st_value) : 0; in do_relocs()
409 tls_val = def.sym ? def.sym->st_value : 0; in do_relocs()
994 p->funcdescs[i].addr = laddr(p, p->syms[i].st_value); in makefuncdescs()
1715 else ((stage3_func)laddr(&ldso, dls2b_def.sym->st_value))(sp, auxv); in __dls2()
1739 else ((stage3_func)laddr(&ldso, dls3_def.sym->st_value))(sp, auxv); in __dls2b()
2246 return __tls_get_addr((tls_mod_off_t []){def.dso->tls_id, def.sym->st_value-DTP_OFFSET}); in do_dlsym()
2249 return laddr(def.dso, def.sym->st_value); in do_dlsym()
2283 if (sym->st_value in dladdr()
2286 size_t symaddr = (size_t)laddr(p, sym->st_value); in dladdr()
[all...]

Completed in 19 milliseconds

123