Home
last modified time | relevance | path

Searched defs:elf (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/tools/objtool/
Delf.c24 struct section *find_section_by_name(struct elf *elf, const char *name) in find_section_by_name()
35 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
47 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
72 struct symbol *find_symbol_by_name(struct elf *elf, const char *name) in find_symbol_by_name()
131 static int read_sections(struct elf *elf) in read_sections()
207 static int read_symbols(struct elf *elf) in read_symbols()
350 static int read_relas(struct elf *elf) in read_relas()
406 struct elf *elf; in elf_read() local
461 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
562 struct section *elf_create_rela_section(struct elf *elf, struct section *base) in elf_create_rela_section()
[all …]
Delf.h68 struct elf { struct
69 Elf *elf; argument
78 struct elf *elf_read(const char *name, int flags); argument
Dspecial.c71 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry()
159 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
Dorc_dump.c70 Elf *elf; in orc_dump() local
Dcheck.h51 struct elf *elf; member
/Linux-v5.4/scripts/mod/
Dmodpost.c303 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) in sech_name()
310 static const char *sec_name(struct elf_info *elf, int secindex) in sec_name()
317 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname()
335 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec()
841 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
921 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1299 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1315 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1359 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1599 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler()
[all …]
/Linux-v5.4/tools/perf/util/
Dsymbol-elf.c75 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum()
188 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index()
207 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name()
294 Elf *elf; in dso__synthesize_plt_symbols() local
454 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id()
536 Elf *elf; in filename__read_build_id() local
615 Elf *elf; in filename__read_debuglink() local
716 Elf *elf; in symsrc__init() local
966 Elf *elf; in dso__load_sym() local
1173 static int elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) in elf_read_maps()
[all …]
Dsymsrc.h21 Elf *elf; member
Dunwind-libunwind-local.c173 Elf *elf; in elf_section_offset() local
199 Elf *elf; in elf_is_exec() local
Dprobe-finder.c1146 Elf *elf; in debuginfo__find_probes() local
1521 Elf *elf; in debuginfo__get_text_offset() local
Dprobe-event.c260 Elf *elf; in find_module_name() local
531 Elf *elf; in get_text_start_address() local
/Linux-v5.4/tools/objtool/arch/x86/
Ddecode.c29 static int is_x86_64(struct elf *elf) in is_x86_64()
69 int arch_decode_instruction(struct elf *elf, struct section *sec, in arch_decode_instruction()
/Linux-v5.4/tools/build/feature/
Dtest-libelf-mmap.c6 Elf *elf = elf_begin(0, ELF_C_READ_MMAP, 0); in main() local
Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/Linux-v5.4/samples/bpf/
Dbpf_load.c316 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec()
400 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section()
511 Elf *elf; in do_load_bpf_file() local
/Linux-v5.4/fs/
Dbinfmt_elf.c496 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1426 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1760 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2009 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2161 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2191 struct elfhdr *elf = NULL; in elf_core_dump() local
Dbinfmt_elf_fdpic.c1290 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1474 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1556 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/Linux-v5.4/arch/alpha/boot/tools/
Dobjstrip.c61 struct elfhdr *elf; in main() local
/Linux-v5.4/arch/s390/include/asm/
Delf.h170 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
185 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/Linux-v5.4/arch/powerpc/kernel/
Dfadump.c657 struct elfhdr *elf; in fadump_update_elfcore_header() local
841 struct elfhdr *elf; in fadump_init_elfcore_header() local
956 struct elfhdr *elf; in fadump_create_elfcore_headers() local
/Linux-v5.4/arch/mips/kernel/
Delf.c75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dopal-core.c307 Elf64_Ehdr *elf; in create_opalcore() local
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c260 Elf *elf; member
676 Elf *elf = obj->efile.elf; in bpf_object_search_section_size() local
1521 Elf *elf = obj->efile.elf; in bpf_object__elf_collect() local
Dbtf.c389 Elf *elf = NULL; in btf__parse_elf() local