Home
last modified time | relevance | path

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

12

/linux/tools/objtool/include/objtool/
H A Delf.h86 struct elf { global() struct
87 elfelf global() argument
102 symbol_hashelf global() argument
103 symbol_name_hashelf global() argument
104 section_hashelf global() argument
105 section_name_hashelf global() argument
106 reloc_hashelf global() argument
112 symbol_dataelf global() argument
156 has_multiple_files(struct elf * elf) has_multiple_files() argument
161 elf_addr_size(struct elf * elf) elf_addr_size() argument
166 elf_rela_size(struct elf * elf) elf_rela_size() argument
171 elf_data_rela_type(struct elf * elf) elf_data_rela_type() argument
176 elf_text_rela_type(struct elf * elf) elf_text_rela_type() argument
191 mark_sec_changed(struct elf * elf,struct section * sec,bool changed) mark_sec_changed() argument
246 set_reloc_offset(struct elf * elf,struct reloc * reloc,u64 offset) set_reloc_offset() argument
257 set_reloc_addend(struct elf * elf,struct reloc * reloc,s64 addend) set_reloc_addend() argument
282 set_reloc_sym(struct elf * elf,struct reloc * reloc,unsigned int sym) set_reloc_sym() argument
292 set_reloc_type(struct elf * elf,struct reloc * reloc,unsigned int type) set_reloc_type() argument
[all...]
H A Dendianness.h15 need_bswap(struct elf * elf) need_bswap() argument
21 bswap_if_needed(elf,val) global() argument
H A Dobjtool.h23 struct elf *elf; member
/linux/tools/objtool/
H A Delf.c140 find_section_by_name(const struct elf * elf,const char * name) find_section_by_name() argument
152 find_section_by_index(struct elf * elf,unsigned int idx) find_section_by_index() argument
165 find_symbol_by_index(struct elf * elf,unsigned int idx) find_symbol_by_index() argument
284 find_symbol_by_name(const struct elf * elf,const char * name) find_symbol_by_name() argument
297 find_local_symbol_by_file_and_name(const struct elf * elf,struct symbol * file,const char * name) find_local_symbol_by_file_and_name() argument
313 find_global_symbol_by_name(const struct elf * elf,const char * name) find_global_symbol_by_name() argument
325 iterate_global_symbol_by_demangled_name(const struct elf * elf,const char * demangled_name,void (* process)(struct symbol * sym,void * data),void * data) iterate_global_symbol_by_demangled_name() argument
338 find_reloc_by_dest_range(const struct elf * elf,struct section * sec,unsigned long offset,unsigned int len) find_reloc_by_dest_range() argument
368 find_reloc_by_dest(const struct elf * elf,struct section * sec,unsigned long offset) find_reloc_by_dest() argument
378 read_sections(struct elf * elf) read_sections() argument
527 elf_add_symbol(struct elf * elf,struct symbol * sym) elf_add_symbol() argument
592 read_symbols(struct elf * elf) read_symbols() argument
735 mark_group_syms(struct elf * elf) mark_group_syms() argument
766 elf_update_sym_relocs(struct elf * elf,struct symbol * sym) elf_update_sym_relocs() argument
784 elf_update_symbol(struct elf * elf,struct section * symtab,struct section * symtab_shndx,struct symbol * sym) elf_update_symbol() argument
913 elf_create_symbol(struct elf * elf,const char * name,struct section * sec,unsigned int bind,unsigned int type,unsigned long offset,size_t size) elf_create_symbol() argument
1019 elf_create_section_symbol(struct elf * elf,struct section * sec) elf_create_section_symbol() argument
1032 elf_init_reloc(struct elf * elf,struct section * rsec,unsigned int reloc_idx,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_init_reloc() argument
1067 elf_init_reloc_text_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct section * insn_sec,unsigned long insn_off) elf_init_reloc_text_sym() argument
1097 elf_init_reloc_data_sym(struct elf * elf,struct section * sec,unsigned long offset,unsigned int reloc_idx,struct symbol * sym,s64 addend) elf_init_reloc_data_sym() argument
1112 read_relocs(struct elf * elf) read_relocs() argument
1177 struct elf *elf; elf_open_read() local
1246 struct elf *elf; elf_create_file() local
1358 elf_add_string(struct elf * elf,struct section * strtab,const char * str) elf_add_string() argument
1382 elf_add_data(struct elf * elf,struct section * sec,const void * data,size_t size) elf_add_data() argument
1424 elf_create_section(struct elf * elf,const char * name,size_t size,size_t entsize,unsigned int type,unsigned int align,unsigned int flags) elf_create_section() argument
1517 elf_alloc_reloc(struct elf * elf,struct section * rsec) elf_alloc_reloc() argument
1625 elf_create_rela_section(struct elf * elf,struct section * sec,unsigned int nr_relocs) elf_create_rela_section() argument
1666 elf_create_reloc(struct elf * elf,struct section * sec,unsigned long offset,struct symbol * sym,s64 addend,unsigned int type) elf_create_reloc() argument
1693 elf_create_section_pair(struct elf * elf,const char * name,size_t entsize,unsigned int nr,unsigned int nr_relocs) elf_create_section_pair() argument
1710 elf_write_insn(struct elf * elf,struct section * sec,unsigned long offset,unsigned int len,const char * insn) elf_write_insn() argument
1737 elf_truncate_section(struct elf * elf,struct section * sec) elf_truncate_section() argument
1781 elf_write(struct elf * elf) elf_write() argument
1822 elf_close(struct elf * elf) elf_close() argument
[all...]
H A Dklp-diff.c168 static int read_sym_checksums(struct elf *elf) in read_sym_checksums() argument
216 static struct symbol *first_file_symbol(struct elf *elf) in first_file_symbol() argument
228 static struct symbol *next_file_symbol(struct elf *el argument
383 find_global_symbol_by_demangled_name(struct elf * elf,struct symbol * sym,struct symbol ** out_sym) find_global_symbol_by_demangled_name() argument
561 find_sympos(struct elf * elf,struct symbol * sym) find_sympos() argument
621 __clone_symbol(struct elf * elf,struct symbol * patched_sym,bool data_too) __clone_symbol() argument
955 convert_reloc_sym_to_secsym(struct elf * elf,struct reloc * reloc) convert_reloc_sym_to_secsym() argument
969 convert_reloc_secsym_to_sym(struct elf * elf,struct reloc * reloc) convert_reloc_secsym_to_sym() argument
1000 convert_reloc_sym(struct elf * elf,struct reloc * reloc) convert_reloc_sym() argument
1271 create_fake_symbol(struct elf * elf,struct section * sec,unsigned long offset,size_t size) create_fake_symbol() argument
1326 create_fake_symbols(struct elf * elf) create_fake_symbols() argument
1401 should_keep_special_sym(struct elf * elf,struct symbol * sym) should_keep_special_sym() argument
[all...]
/linux/scripts/mod/
H A Dsymsearch.c50 static unsigned int symbol_count(struct elf_info *elf) in symbol_count()
68 static void symsearch_populate(struct elf_info *elf, in symsearch_populate()
124 void symsearch_init(struct elf_info *elf) in symsearch_init()
139 void symsearch_finish(struct elf_info *elf) in symsearch_finish()
153 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, in symsearch_find_nearest()
H A Dmodpost.c716 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() argument
776 check_section(const char * modname,struct elf_info * elf,Elf_Shdr * sechdr) check_section() argument
991 find_fromsym(struct elf_info * elf,Elf_Addr addr,unsigned int secndx) find_fromsym() argument
997 find_tosym(struct elf_info * elf,Elf_Addr addr,Elf_Sym * sym) find_tosym() argument
1014 is_executable_section(struct elf_info * elf,unsigned int secndx) is_executable_section() argument
1022 default_mismatch_handler(const char * modname,struct elf_info * elf,const struct sectioncheck * const mismatch,Elf_Sym * tsym,unsigned int fsecndx,const char * fromsec,Elf_Addr faddr,const char * tosec,Elf_Addr taddr) default_mismatch_handler() argument
1080 check_export_symbol(struct module * mod,struct elf_info * elf,Elf_Addr faddr,const char * secname,Elf_Sym * sym) check_export_symbol() argument
1150 check_section_mismatch(struct module * mod,struct elf_info * elf,Elf_Sym * sym,unsigned int fsecndx,const char * fromsec,Elf_Addr faddr,Elf_Addr taddr) check_section_mismatch() argument
1315 get_rel_type_and_sym(struct elf_info * elf,uint64_t r_info,unsigned int * r_type,unsigned int * r_sym) get_rel_type_and_sym() argument
1345 section_rela(struct module * mod,struct elf_info * elf,unsigned int fsecndx,const char * fromsec,const Elf_Rela * start,const Elf_Rela * stop) section_rela() argument
1387 section_rel(struct module * mod,struct elf_info * elf,unsigned int fsecndx,const char * fromsec,const Elf_Rel * start,const Elf_Rel * stop) section_rel() argument
1436 check_sec_ref(struct module * mod,struct elf_info * elf) check_sec_ref() argument
[all...]
/linux/tools/perf/util/
H A Dsymbol-elf.c54 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum() argument
167 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index() argument
186 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name() argument
215 Elf *elf; in filename__has_section() local
240 elf_read_program_header(Elf * elf,u64 vaddr,GElf_Phdr * phdr) elf_read_program_header() argument
335 get_ifunc_name(Elf * elf,struct dso * dso,GElf_Ehdr * ehdr,struct rel_info * ri,char * buf,size_t buf_sz) get_ifunc_name() argument
471 get_rela_dyn_info(Elf * elf,GElf_Ehdr * ehdr,struct rela_dyn_info * di,Elf_Scn * scn) get_rela_dyn_info() argument
565 dso__synthesize_plt_got_symbols(struct dso * dso,Elf * elf,GElf_Ehdr * ehdr,char * buf,size_t buf_sz) dso__synthesize_plt_got_symbols() argument
616 Elf *elf; dso__synthesize_plt_symbols() local
784 elf_read_build_id(Elf * elf,void * bf,size_t size) elf_read_build_id() argument
867 Elf *elf; read_build_id() local
988 Elf *elf; filename__read_debuglink() local
1068 read_gnu_debugdata(struct dso * dso,Elf * elf,const char * name,int * fd_ret) read_gnu_debugdata() argument
1147 Elf *elf; symsrc__init() local
1271 max_text_section(Elf * elf,GElf_Ehdr * ehdr) max_text_section() argument
1486 Elf *elf; dso__load_sym_internal() local
1810 elf_read_maps(Elf * elf,bool exe,mapfn_t mapfn,void * data) elf_read_maps() argument
1846 Elf *elf; file__read_maps() local
1866 Elf *elf; dso__type_fd() local
1938 Elf *elf; global() member
2278 kcore_copy__read_maps(struct kcore_copy_info * kci,Elf * elf) kcore_copy__read_maps() argument
2345 kcore_copy__calc_maps(struct kcore_copy_info * kci,const char * dir,Elf * elf) kcore_copy__calc_maps() argument
2675 populate_sdt_note(Elf ** elf,const char * data,size_t len,struct list_head * sdt_notes) populate_sdt_note() argument
2807 construct_sdt_notes_list(Elf * elf,struct list_head * sdt_notes) construct_sdt_notes_list() argument
2874 Elf *elf; get_sdt_note_list() local
[all...]
H A Dsymsrc.h21 Elf *elf; member
H A Dunwind-libunwind-local.c
H A Ddebuginfo.c156 Elf *elf; debuginfo__get_text_offset() local
/linux/tools/objtool/arch/x86/
H A Ddecode.c39 static int is_x86_64(const struct elf *elf) in is_x86_64() argument
222 const struct elf *elf = file->elf; in arch_decode_instruction() local
944 arch_absolute_reloc(struct elf * elf,struct reloc * reloc) arch_absolute_reloc() argument
[all...]
/linux/tools/build/feature/
H A Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dgh100.c196 elf_validate_sections(const void *elf, size_t length) in elf_validate_sections()
246 elf_section(const void *elf, const char *name, unsigned int *len) in elf_section()
/linux/arch/loongarch/kernel/
H A Delf.c14 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/linux/fs/
H A Dbinfmt_elf.c593 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1437 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1815 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
1970 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1997 struct elfhdr elf; in elf_core_dump() local
H A Dbinfmt_elf_fdpic.c1246 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1434 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1480 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/linux/arch/alpha/boot/tools/
H A Dobjstrip.c61 struct elfhdr *elf; in main() local
/linux/arch/mips/kernel/
H A Delf.c76 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/linux/tools/bpf/resolve_btfids/
H A Dmain.c133 Elf *elf; member
389 Elf *elf; in elf_collect() local
1373 Elf *elf; in patch_btfids() local
/linux/scripts/gendwarfksyms/
H A Dkabi.c124 Elf *elf; in kabi_read_rules() local
H A Dsymbols.c202 Elf *elf; elf_for_each_global() local
[all...]
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c140 } elf; variable
/linux/tools/testing/selftests/bpf/
H A Dtrace_helpers.c434 Elf *elf = NULL; in read_build_id() local
/linux/tools/lib/bpf/
H A Dlinker.c57 Elf *elf; member
141 Elf *elf; member

12