Home
last modified time | relevance | path

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

12

/linux-6.15/arch/arm/include/asm/
H A Dmodule.h50 if (ELF_ST_TYPE(sym->st_info) == STT_FUNC) in kallsyms_symbol_value()
/linux-6.15/tools/lib/symbol/
H A Dkallsyms.c11 return (type == 't' || type == 'w') ? STT_FUNC : STT_OBJECT; in kallsyms2elf_type()
/linux-6.15/tools/objtool/include/objtool/
H A Dcheck.h90 if (sym && sym->type != STT_FUNC) in insn_func()
/linux-6.15/tools/perf/util/include/linux/
H A Dlinkage.h20 #define SYM_T_FUNC STT_FUNC
/linux-6.15/tools/lib/bpf/
H A Delf.c318 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset()
522 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()
/linux-6.15/scripts/mod/
H A Dsymsearch.c87 if (is_arm && ELF_ST_TYPE(sym->st_info) == STT_FUNC) in symsearch_populate()
H A Dmodpost.c1115 s->is_func = (ELF_ST_TYPE(sym->st_info) == STT_FUNC); in check_export_symbol()
/linux-6.15/tools/perf/tests/
H A Dsymbols.c122 if (sym->type != STT_FUNC && sym->type != STT_GNU_IFUNC) in test_dso()
H A Dhists_common.c143 STB_GLOBAL, STT_FUNC, fsym->name); in setup_fake_machine()
/linux-6.15/include/linux/
H A Dlinkage.h80 #define SYM_T_FUNC STT_FUNC
/linux-6.15/tools/objtool/
H A Dcheck.c501 if (func->type != STT_NOTYPE && func->type != STT_FUNC) in decode_instructions()
522 if (func->type == STT_FUNC && in decode_instructions()
829 if (opts.module && sym && sym->type == STT_FUNC && in create_ibt_endbr_seal_sections()
864 if (sym->type != STT_FUNC) in create_cfi_sections()
880 if (sym->type != STT_FUNC) in create_cfi_sections()
997 case STT_FUNC: in add_ignores()
1670 if (func && insn_call_dest(insn)->type != STT_FUNC) { in add_call_destinations()
2170 if (func->type != STT_FUNC) in add_jump_table_alts()
4185 if (func->type != STT_FUNC) in add_prefix_symbols()
4229 if (func->type != STT_FUNC) in validate_section()
H A Delf.c186 if (iter->offset == offset && iter->type == STT_FUNC) in find_func_by_offset()
252 if (iter->type == STT_FUNC) in find_func_containing()
521 if (sym->type != STT_FUNC) in read_symbols()
/linux-6.15/tools/testing/selftests/vDSO/
H A Dparse_vdso.c244 if (ELF64_ST_TYPE(sym->st_info) != STT_FUNC) in check_sym()
/linux-6.15/tools/include/uapi/linux/
H A Delf.h135 #define STT_FUNC 2 macro
/linux-6.15/include/uapi/linux/
H A Delf.h135 #define STT_FUNC 2 macro
/linux-6.15/tools/perf/util/
H A Dgenelf.c87 .st_info = ELF_ST_BIND(STB_LOCAL) | ELF_ST_TYPE(STT_FUNC),
H A Dsymbol-elf.c124 return (elf_sym__type(sym) == STT_FUNC || in elf_sym__is_function()
657 sym = symbol__new(shdr.sh_offset + i, shdr.sh_entsize, STB_GLOBAL, STT_FUNC, buf); in dso__synthesize_plt_got_symbols()
711 plt_sym = symbol__new(shdr_plt.sh_offset, plt_header_size, STB_GLOBAL, STT_FUNC, ".plt"); in dso__synthesize_plt_symbols()
831 f = symbol__new(plt_offset, plt_entry_size, STB_GLOBAL, STT_FUNC, sympltname); in dso__synthesize_plt_symbols()
1799 (GELF_ST_TYPE(sym.st_info) == STT_FUNC) && in dso__load_sym_internal()
H A Dsymbol.c1558 sym = symbol__new(start, size, STB_GLOBAL, STT_FUNC, line + len); in dso__load_perf_map()
1685 symbol = symbol__new(start, len, bfd2elf_binding(sym), STT_FUNC, in dso__load_bfd_symbols()
H A Dannotate.c236 __func__, __LINE__, sym->name, sym->start, addr, sym->end, sym->type == STT_FUNC); in __symbol__inc_addr_samples()
/linux-6.15/arch/arm/kernel/
H A Dmodule.c282 if (ELF32_ST_TYPE(sym->st_info) == STT_FUNC && in apply_relocate()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_multi_test.c607 &tmp_offsets, STT_FUNC); in attach_uprobe_fail_refctr()
674 err = elf_resolve_syms_offsets(path, 3, syms, (unsigned long **) &offsets, STT_FUNC); in __test_link_api()
H A Dfill_link_info.c558 (unsigned long **) &offsets, STT_FUNC); in test_uprobe_multi_fill_link_info()
/linux-6.15/tools/objtool/arch/x86/
H A Ddecode.c676 if (sym && sym->type == STT_FUNC) { in arch_decode_instruction()
/linux-6.15/scripts/
H A Drecordmcount.h539 && ELF_ST_TYPE(symp->st_info) == STT_FUNC) in find_secsym_ndx()
/linux-6.15/arch/x86/tools/
H A Drelocs.c160 SYM_TYPE(STT_FUNC), in sym_type()

12