Home
last modified time | relevance | path

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

/Linux-v4.19/tools/objtool/
Delf.c34 struct section *find_section_by_name(struct elf *elf, const char *name) in find_section_by_name()
45 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
57 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
82 struct symbol *find_symbol_by_name(struct elf *elf, const char *name) in find_symbol_by_name()
141 static int read_sections(struct elf *elf) in read_sections()
217 static int read_symbols(struct elf *elf) in read_symbols()
344 static int read_relas(struct elf *elf) in read_relas()
399 struct elf *elf; in elf_open() local
454 struct section *elf_create_section(struct elf *elf, const char *name, in elf_create_section()
555 struct section *elf_create_rela_section(struct elf *elf, struct section *base) in elf_create_rela_section()
[all …]
Delf.h77 struct elf { struct
78 Elf *elf; member
87 struct elf *elf_open(const char *name, int flags); argument
Dspecial.c81 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry()
153 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
Dorc_dump.c82 Elf *elf; in orc_dump() local
Dcheck.h60 struct elf *elf; member
/Linux-v4.19/scripts/mod/
Dmodpost.c268 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) in sech_name()
275 static const char *sec_name(struct elf_info *elf, int secindex) in sec_name()
282 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname()
300 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec()
776 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
856 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1214 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1265 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1280 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1522 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler()
[all …]
/Linux-v4.19/tools/perf/util/
Dsymbol-elf.c46 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum()
152 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index()
171 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name()
258 Elf *elf; in dso__synthesize_plt_symbols() local
408 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id()
490 Elf *elf; in filename__read_build_id() local
569 Elf *elf; in filename__read_debuglink() local
671 Elf *elf; in symsrc__init() local
921 Elf *elf; in dso__load_sym() local
1128 static int elf_read_maps(Elf *elf, bool exe, mapfn_t mapfn, void *data) in elf_read_maps()
[all …]
Dunwind-libunwind-local.c172 Elf *elf; in elf_section_offset() local
198 Elf *elf; in elf_is_exec() local
Dprobe-finder.c1154 Elf *elf; in debuginfo__find_probes() local
1510 Elf *elf; in debuginfo__get_text_offset() local
Dsymbol.h227 Elf *elf; member
Dprobe-event.c267 Elf *elf; in find_module_name() local
535 Elf *elf; in get_text_start_address() local
/Linux-v4.19/tools/objtool/arch/x86/
Ddecode.c41 static int is_x86_64(struct elf *elf) in is_x86_64()
81 int arch_decode_instruction(struct elf *elf, struct section *sec, in arch_decode_instruction()
/Linux-v4.19/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-v4.19/samples/bpf/
Dbpf_load.c300 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec()
384 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section()
495 Elf *elf; in do_load_bpf_file() local
/Linux-v4.19/arch/ia64/hp/sim/boot/
Dbootloader.c64 struct elfhdr *elf; in start_bootloader() local
/Linux-v4.19/arch/alpha/boot/tools/
Dobjstrip.c61 struct elfhdr *elf; in main() local
/Linux-v4.19/fs/
Dbinfmt_elf.c500 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1445 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1783 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2032 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2189 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2219 struct elfhdr *elf = NULL; in elf_core_dump() local
Dbinfmt_elf_fdpic.c1294 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1478 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1560 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/Linux-v4.19/arch/s390/include/asm/
Delf.h166 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
181 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/Linux-v4.19/arch/powerpc/kernel/
Dfadump.c674 struct elfhdr *elf; in fadump_update_elfcore_header() local
979 struct elfhdr *elf; in fadump_init_elfcore_header() local
1075 struct elfhdr *elf; in fadump_create_elfcore_headers() local
/Linux-v4.19/arch/mips/kernel/
Delf.c77 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/Linux-v4.19/tools/lib/bpf/
Dlibbpf.c203 Elf *elf; member
733 Elf *elf = obj->efile.elf; in bpf_object__elf_collect() local
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_btf.c1947 Elf *elf; in file_has_btf_elf() local