/linux-6.3-rc2/tools/objtool/include/objtool/ |
A D | elf.h | 87 struct elf { struct 88 Elf *elf; member 89 GElf_Ehdr ehdr; 90 int fd; 91 bool changed; 92 char *name; 93 unsigned int text_size, num_files; 96 int symbol_bits; 97 int symbol_name_bits; 98 int section_bits; [all …]
|
A D | endianness.h | 15 static inline bool need_bswap(struct elf *elf) in need_bswap() 21 #define bswap_if_needed(elf, val) \ argument
|
A D | objtool.h | 23 struct elf *elf; member
|
/linux-6.3-rc2/tools/objtool/ |
A D | elf.c | 108 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() 266 static int read_sections(struct elf *elf) in read_sections() 353 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol() 395 static int read_symbols(struct elf *elf) in read_symbols() 723 __elf_create_symbol(struct elf *elf, struct symbol *sym) in __elf_create_symbol() 894 static int read_relocs(struct elf *elf) in read_relocs() 970 struct elf *elf; in elf_open_read() local 1290 int elf_write_insn(struct elf *elf, struct section *sec, in elf_write_insn() 1309 int elf_write_reloc(struct elf *elf, struct reloc *reloc) in elf_write_reloc() 1391 int elf_write(struct elf *elf) in elf_write() [all …]
|
A D | special.c | 68 static int get_alt_entry(struct elf *elf, const struct special_entry *entry, in get_alt_entry() 140 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
|
A D | orc_dump.c | 73 Elf *elf; in orc_dump() local
|
A D | orc_gen.c | 91 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | symbol-elf.c | 239 Elf *elf; in filename__has_section() local 665 Elf *elf; in dso__synthesize_plt_symbols() local 952 Elf *elf; in read_build_id() local 1105 Elf *elf; in filename__read_debuglink() local 1214 Elf *elf; in symsrc__init() local 1473 Elf *elf; in dso__load_sym_internal() local 1800 Elf *elf; in file__read_maps() local 1820 Elf *elf; in dso__type_fd() local 1892 Elf *elf; member 2299 Elf *elf) in kcore_copy__calc_maps() [all …]
|
A D | symsrc.h | 21 Elf *elf; member
|
A D | unwind-libunwind-local.c | 174 Elf *elf; in elf_section_address_and_offset() local 211 Elf *elf = elf_begin(fd, PERF_ELF_C_READ_MMAP, NULL); in elf_base_address() local 234 Elf *elf; in elf_is_exec() local
|
A D | probe-finder.c | 1245 Elf *elf; in debuginfo__find_probes() local 1687 Elf *elf; in debuginfo__get_text_offset() local
|
/linux-6.3-rc2/scripts/mod/ |
A D | modpost.c | 722 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name() 784 static void check_section(const char *modname, struct elf_info *elf, in check_section() 1131 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name() 1147 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol() 1191 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2() 1338 static void report_extable_warnings(const char* modname, struct elf_info* elf, in report_extable_warnings() 1411 static void check_section_mismatch(const char *modname, struct elf_info *elf, in check_section_mismatch() 1427 static unsigned int *reloc_location(struct elf_info *elf, in reloc_location() 1532 static void section_rela(const char *modname, struct elf_info *elf, in section_rela() 1589 static void section_rel(const char *modname, struct elf_info *elf, in section_rel() [all …]
|
/linux-6.3-rc2/tools/build/feature/ |
A D | test-libelf.c | 6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | usdt.c | 299 static int sanity_check_usdt_elf(Elf *elf, const char *path) in sanity_check_usdt_elf() 351 static int find_elf_sec_by_name(Elf *elf, const char *sec_name, GElf_Shdr *shdr, Elf_Scn **scn) in find_elf_sec_by_name() 394 static int parse_elf_segs(Elf *elf, const char *path, struct elf_seg **segs, size_t *seg_cnt) in parse_elf_segs() 572 static int collect_usdt_targets(struct usdt_manager *man, Elf *elf, const char *path, pid_t pid, in collect_usdt_targets() 952 Elf *elf; in usdt_manager_attach_usdt() local 1089 static int parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, in parse_usdt_note()
|
/linux-6.3-rc2/tools/objtool/arch/x86/ |
A D | decode.c | 31 static int is_x86_64(const struct elf *elf) in is_x86_64() 152 const struct elf *elf = file->elf; in arch_decode_instruction() local
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | elf.c | 15 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
|
/linux-6.3-rc2/tools/bpf/resolve_btfids/ |
A D | main.c | 112 Elf *elf; member 295 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix() 323 Elf *elf; in elf_collect() local
|
/linux-6.3-rc2/fs/ |
A D | binfmt_elf.c | 539 struct file *elf, bool is_interp, in arch_elf_pt_proc() 1490 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header() 1855 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info() 2003 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 2030 struct elfhdr elf; in elf_core_dump() local
|
A D | binfmt_elf_fdpic.c | 1238 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header() 1425 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info() 1471 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
|
/linux-6.3-rc2/arch/alpha/boot/tools/ |
A D | objstrip.c | 61 struct elfhdr *elf; in main() local
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | elf.h | 194 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument 209 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | elf.c | 75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | fadump.c | 965 struct elfhdr *elf; in fadump_init_elfcore_header() local 1079 struct elfhdr *elf; in fadump_create_elfcore_headers() local
|
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | gen-hyprel.c | 137 } elf; variable
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | opal-core.c | 308 Elf64_Ehdr *elf; in create_opalcore() local
|