Home
last modified time | relevance | path

Searched refs:STT_FUNC (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Delf.c197 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset()
322 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_syms_offsets()
403 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
Dlibbpf.c827 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in bpf_object__add_programs()
3588 return bind == STB_GLOBAL && type == STT_FUNC; in sym_is_subprog()
/Linux-v6.6/arch/arm/include/asm/
Dmodule.h50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/Linux-v6.6/tools/lib/symbol/
Dkallsyms.c11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
/Linux-v6.6/tools/objtool/include/objtool/
Dcheck.h86 if (sym && sym->type != STT_FUNC) in insn_func()
/Linux-v6.6/tools/perf/util/include/linux/
Dlinkage.h20 #define SYM_T_FUNC STT_FUNC
/Linux-v6.6/tools/perf/tests/
Dsymbols.c78 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
Dhists_common.c143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
/Linux-v6.6/tools/testing/selftests/vDSO/
Dparse_vdso.c213 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in vdso_sym()
/Linux-v6.6/include/linux/
Dlinkage.h80 #define SYM_T_FUNC STT_FUNC
/Linux-v6.6/tools/objtool/
Dcheck.c446 if (func->type != STT_NOTYPE && func->type != STT_FUNC) in decode_instructions()
469 if (func->type == STT_FUNC && in decode_instructions()
868 if (opts.module && sym && sym->type == STT_FUNC && in create_ibt_endbr_seal_sections()
900 if (sym->type != STT_FUNC) in create_cfi_sections()
916 if (sym->type != STT_FUNC) in create_cfi_sections()
1034 case STT_FUNC: in add_ignores()
1696 if (insn_func(insn) && insn_call_dest(insn)->type != STT_FUNC) { in add_call_destinations()
2183 if (func->type != STT_FUNC) in add_jump_table_alts()
4162 if (func->type != STT_FUNC) in add_prefix_symbols()
4205 if (func->type != STT_FUNC) in validate_section()
Delf.c188 if (iter->offset == offset && iter->type == STT_FUNC) in find_func_by_offset()
249 if (iter->type == STT_FUNC) in find_func_containing()
520 if (sym->type != STT_FUNC) in read_symbols()
/Linux-v6.6/include/uapi/linux/
Delf.h130 #define STT_FUNC 2 macro
/Linux-v6.6/tools/perf/util/
Dgenelf.c92 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
Dsymbol-elf.c122 return (elf_sym__type(sym) == STT_FUNC || in elf_sym__is_function()
653 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols()
707 plt_sym = symbol__new(shdr_plt.sh_offset, plt_header_size, STB_GLOBAL, STT_FUNC, ".plt"); in dso__synthesize_plt_symbols()
827 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols()
1670 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
Dsymbol.c1640 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len); in dso__load_perf_map()
1764 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC, in dso__load_bfd_symbols()
Dannotate.c946 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
Dprobe-event.c3110 if (sym->type != STT_FUNC) in find_probe_trace_events_from_map()
/Linux-v6.6/arch/arm/kernel/
Dmodule.c316 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
/Linux-v6.6/tools/objtool/arch/x86/
Ddecode.c647 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()
/Linux-v6.6/scripts/
Drecordmcount.h539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
/Linux-v6.6/scripts/mod/
Dmodpost.c1093 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in find_nearest_sym()
1240 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
/Linux-v6.6/arch/x86/tools/
Drelocs.c158 SYM_TYPE(STT_FUNC), in sym_type()