Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Delf.c281 int i, sh_types[2] = { SHT_DYNSYM, SHT_SYMTAB }; in elf_find_func_offset() local
314 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_find_func_offset()
320 ret = elf_sym_iter_new(&iter, elf, binary_path, sh_types[i], STT_FUNC); in elf_find_func_offset()
327 if (!symbol_match(&iter, sh_types[i], sym, name, name_len, lib_ver)) in elf_find_func_offset()
414 int sh_types[2] = { SHT_DYNSYM, SHT_SYMTAB }; in elf_resolve_syms_offsets() local
439 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_resolve_syms_offsets()
443 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], st_type); in elf_resolve_syms_offsets()
510 int sh_types[2] = { SHT_SYMTAB, SHT_DYNSYM }; in elf_resolve_pattern_offsets() local
520 for (i = 0; i < ARRAY_SIZE(sh_types); i++) { in elf_resolve_pattern_offsets()
524 err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC); in elf_resolve_pattern_offsets()