/linux-master/arch/mips/kernel/ |
H A D | module.c | 13 #include <linux/elf.h>
|
/linux-master/arch/loongarch/kernel/ |
H A D | module.c | 12 #include <linux/elf.h>
|
H A D | Makefile | 12 elf.o syscall.o signal.o time.o topology.o inst.o ptrace.o vdso.o \
|
/linux-master/arch/arm64/kernel/ |
H A D | module.c | 13 #include <linux/elf.h>
|
H A D | setup.c | 41 #include <asm/elf.h>
|
/linux-master/arch/arm/kernel/ |
H A D | module.c | 14 #include <linux/elf.h>
|
/linux-master/tools/testing/selftests/sgx/ |
H A D | Makefile | 23 TEST_FILES := $(OUTPUT)/test_encl.elf 25 all: $(TEST_CUSTOM_PROGS) $(OUTPUT)/test_encl.elf 50 $(OUTPUT)/test_encl.elf: test_encl.c test_encl_bootstrap.S 54 $(OUTPUT)/test_encl.elf \
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | veristat.c | 377 Elf *elf = NULL; local 386 elf = elf_begin(fd, ELF_C_READ, NULL); 387 if (!elf) 390 if (elf_kind(elf) != ELF_K_ELF || gelf_getclass(elf) != ELFCLASS64) 393 ehdr = elf64_getehdr(elf); 400 if (elf) 401 elf_end(elf);
|
H A D | trace_helpers.c | 347 Elf *elf = NULL; local 360 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); 361 if (!elf) 363 if (elf_kind(elf) != ELF_K_ELF) 365 if (!gelf_getehdr(elf, &ehdr)) 372 phdr = gelf_getphdr(elf, i, &mem); 377 data = elf_rawfile(elf, &max); 388 if (elf) 389 elf_end(elf);
|
/linux-master/tools/perf/util/ |
H A D | probe-finder.c | 1125 Elf *elf; local 1132 elf = dwarf_getelf(dbg->dbg); 1133 if (elf == NULL) 1136 if (gelf_getehdr(elf, &ehdr) == NULL) 1145 if (elf_section_by_name(elf, &ehdr, &shdr, ".eh_frame", NULL) && 1147 pf->cfi_eh = dwarf_getcfi_elf(elf);
|
/linux-master/tools/lib/bpf/ |
H A D | libbpf_internal.h | 650 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name); 654 Elf *elf;
|
H A D | libbpf.c | 632 Elf *elf; member in struct:elf_state 672 /* Information when doing ELF related work. Only valid if efile.elf is not NULL */ 1465 * avoid user freeing them before elf finish. 1480 if (!obj->efile.elf) 1483 elf_end(obj->efile.elf); 1484 obj->efile.elf = NULL; 1499 Elf *elf; local 1501 if (obj->efile.elf) { 1502 pr_warn("elf: init internal error\n"); 1508 elf 3613 Elf *elf = obj->efile.elf; local 3757 Elf *elf = obj->efile.elf; local 11759 Elf *elf; local [all...] |
/linux-master/include/linux/ |
H A D | elf.h | 6 #include <asm/elf.h> 7 #include <uapi/linux/elf.h> 12 Override in asm/elf.h as needed. */
|
/linux-master/fs/ |
H A D | coredump.c | 44 #include <linux/elf.h>
|
H A D | binfmt_elf.c | 36 #include <linux/elf.h> 37 #include <linux/elf-randomize.h> 149 * If the arch defines ELF_BASE_PLATFORM (in asm/elf.h), the value 389 pr_info("%d (%s): Uhuuh, elf segment at %px requested but the memory is mapped already\n", 563 * @elf: The open ELF file 579 struct file *elf, bool is_interp, 1428 static void fill_elf_header(struct elfhdr *elf, int segs, argument 1431 memset(elf, 0, sizeof(*elf)); 1433 memcpy(elf 577 arch_elf_pt_proc(struct elfhdr *ehdr, struct elf_phdr *phdr, struct file *elf, bool is_interp, struct arch_elf_state *state) argument 1796 fill_note_info(struct elfhdr *elf, int phdrs, struct elf_note_info *info, struct coredump_params *cprm) argument 1944 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument 1971 struct elfhdr elf; local [all...] |
H A D | binfmt_elf_fdpic.c | 33 #include <linux/elf.h> 34 #include <linux/elf-fdpic.h> 214 /* binfmt_elf handles non-fdpic elf except on nommu */ 486 * If the arch defines ELF_BASE_PLATFORM (in asm/elf.h), the value 1230 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) argument 1232 memcpy(elf->e_ident, ELFMAG, SELFMAG); 1233 elf->e_ident[EI_CLASS] = ELF_CLASS; 1234 elf->e_ident[EI_DATA] = ELF_DATA; 1235 elf->e_ident[EI_VERSION] = EV_CURRENT; 1236 elf 1417 fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, elf_addr_t e_shoff, int segs) argument 1463 struct elfhdr *elf = NULL; local [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | qmi.c | 7 #include <linux/elf.h>
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | qmi.c | 7 #include <linux/elf.h>
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | intel.c | 25 #include <asm/elf.h>
|
H A D | amd.c | 4 #include <linux/elf.h>
|
/linux-master/arch/sh/kernel/ |
H A D | dwarf.c | 20 #include <linux/elf.h>
|
/linux-master/arch/powerpc/include/asm/ |
H A D | elf.h | 11 #include <uapi/asm/elf.h>
|
/linux-master/arch/openrisc/kernel/ |
H A D | ptrace.c | 25 #include <linux/elf.h>
|
H A D | module.c | 14 #include <linux/elf.h>
|
/linux-master/scripts/mod/ |
H A D | modpost.c | 15 #include <elf.h> 697 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) argument 700 return elf->strtab + sym->st_name; 760 static void check_section(const char *modname, struct elf_info *elf, argument 763 const char *sec = sech_name(elf, sechdr); 997 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, argument 1000 return symsearch_find_nearest(elf, addr, secndx, false, ~0); 1003 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) argument 1008 if (is_valid_name(elf, sym)) 1015 new_sym = symsearch_find_nearest(elf, add 1020 is_executable_section(struct elf_info *elf, unsigned int secndx) argument 1028 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) argument 1078 check_export_symbol(struct module *mod, struct elf_info *elf, Elf_Addr faddr, const char *secname, Elf_Sym *sym) argument 1148 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) argument 1347 get_rel_type_and_sym(struct elf_info *elf, uint64_t r_info, unsigned int *r_type, unsigned int *r_sym) argument 1377 section_rela(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rela *start, const Elf_Rela *stop) argument 1419 section_rel(struct module *mod, struct elf_info *elf, unsigned int fsecndx, const char *fromsec, const Elf_Rel *start, const Elf_Rel *stop) argument 1468 check_sec_ref(struct module *mod, struct elf_info *elf) argument [all...] |