| /freebsd-14-stable/lib/libc/gen/ |
| HD | nlist.c | 53 int __elf_is_okay__(Elf_Ehdr *); 100 __elf_is_okay__(Elf_Ehdr *ehdr) in __elf_is_okay__() 133 Elf_Ehdr ehdr; in __elf_fdnlist() 142 _read(fd, &ehdr, sizeof(Elf_Ehdr)) != sizeof(Elf_Ehdr) || in __elf_fdnlist()
|
| /freebsd-14-stable/stand/efi/loader/arch/riscv/ |
| HD | exec.c | 50 Elf_Ehdr *e; in __elfN() 57 e = (Elf_Ehdr *)&fmp->md_data; in __elfN()
|
| /freebsd-14-stable/libexec/rtld-elf/ |
| HD | map_object.c | 42 static Elf_Ehdr *get_elf_header(int, const char *, const struct stat *, 49 phdr_in_zero_page(const Elf_Ehdr *hdr) in phdr_in_zero_page() 66 Elf_Ehdr *hdr; in map_object() 348 check_elf_headers(const Elf_Ehdr *hdr, const char *path) in check_elf_headers() 380 static Elf_Ehdr * 384 Elf_Ehdr *hdr; in get_elf_header() 388 if (sbp != NULL && sbp->st_size < (off_t)sizeof(Elf_Ehdr)) { in get_elf_header()
|
| /freebsd-14-stable/stand/i386/libi386/ |
| HD | elf32_freebsd.c | 54 Elf_Ehdr *ehdr; in elf32_exec() 60 ehdr = (Elf_Ehdr *)&(md->md_data); in elf32_exec()
|
| HD | elf64_freebsd.c | 71 Elf_Ehdr *ehdr; in elf64_exec() 78 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| HD | multiboot.c | 160 Elf_Ehdr *ehdr; in multiboot_exec() 218 ehdr = (Elf_Ehdr *)&(md->md_data); in multiboot_exec()
|
| /freebsd-14-stable/stand/uboot/ |
| HD | elf_freebsd.c | 67 Elf_Ehdr *e; in __elfN() 74 e = (Elf_Ehdr *)&fmp->md_data; in __elfN()
|
| /freebsd-14-stable/stand/uboot/arch/powerpc/ |
| HD | ppc64_elf_freebsd.c | 66 Elf_Ehdr *e; in ppc64_uboot_elf_exec() 73 e = (Elf_Ehdr *)&fmp->md_data; in ppc64_uboot_elf_exec()
|
| /freebsd-14-stable/stand/efi/loader/arch/arm/ |
| HD | exec.c | 63 Elf_Ehdr *e; in __elfN() 70 e = (Elf_Ehdr *)&fmp->md_data; in __elfN()
|
| /freebsd-14-stable/stand/powerpc/ofw/ |
| HD | elf_freebsd.c | 72 Elf_Ehdr *e; in __elfN() 79 e = (Elf_Ehdr *)&fmp->md_data; in __elfN()
|
| HD | ppc64_elf_freebsd.c | 70 Elf_Ehdr *e; in ppc64_ofw_elf_exec() 77 e = (Elf_Ehdr *)&fmp->md_data; in ppc64_ofw_elf_exec()
|
| /freebsd-14-stable/stand/efi/loader/arch/arm64/ |
| HD | exec.c | 65 Elf_Ehdr *ehdr; in elf64_exec() 72 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| /freebsd-14-stable/stand/userboot/userboot/ |
| HD | elf32_freebsd.c | 57 Elf_Ehdr *ehdr; in elf32_exec() 65 ehdr = (Elf_Ehdr *)&(md->md_data); in elf32_exec()
|
| HD | elf64_freebsd.c | 88 Elf_Ehdr *ehdr; in elf64_exec() 100 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| /freebsd-14-stable/stand/kboot/kboot/arch/powerpc64/ |
| HD | ppc64_elf_freebsd.c | 75 Elf_Ehdr *e; in ppc64_elf_exec() 87 e = (Elf_Ehdr *)&fmp->md_data; in ppc64_elf_exec()
|
| /freebsd-14-stable/stand/common/ |
| HD | load_elf.c | 52 Elf_Ehdr *ehdr; 129 static int elf_header_convert(Elf_Ehdr *ehdr) in elf_header_convert() 162 static int elf_program_header_convert(const Elf_Ehdr *ehdr, Elf_Phdr *phdr) in elf_program_header_convert() 181 static int elf_section_header_convert(const Elf_Ehdr *ehdr, Elf_Shdr *shdr) in elf_section_header_convert() 204 static int elf_header_convert(Elf_Ehdr *ehdr) in elf_header_convert() 209 static int elf_program_header_convert(const Elf_Ehdr *ehdr, Elf_Phdr *phdr) in elf_program_header_convert() 214 static int elf_section_header_convert(const Elf_Ehdr *ehdr, Elf_Shdr *shdr) in elf_section_header_convert() 271 Elf_Ehdr *ehdr; in __elfN() 302 if (bytes_read < 0 || ef->firstlen <= sizeof(Elf_Ehdr)) { in __elfN() 306 ehdr = ef->ehdr = (Elf_Ehdr *)ef->firstpage; in __elfN() [all …]
|
| HD | load_elf_obj.c | 51 Elf_Ehdr hdr; 94 Elf_Ehdr *hdr; in __elfN() 228 Elf_Ehdr *hdr; in __elfN() 472 Elf_Ehdr *hdr; in __elfN() 510 Elf_Ehdr *hdr; in __elfN()
|
| /freebsd-14-stable/usr.bin/gcore/ |
| HD | elfcore.c | 130 Elf_Ehdr hdr; in elf_ident() 211 hdrsize = sizeof(Elf_Ehdr) + sizeof(Elf_Phdr) * (1 + seginfo.count); in elf_coredump() 238 php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1; in elf_coredump() 471 Elf_Ehdr *ehdr, binhdr; in elf_puthdr() 483 ehdr = (Elf_Ehdr *)hdr; in elf_puthdr() 499 ehdr->e_phoff = sizeof(Elf_Ehdr); in elf_puthdr() 501 ehdr->e_ehsize = sizeof(Elf_Ehdr); in elf_puthdr()
|
| /freebsd-14-stable/sys/compat/linux/ |
| HD | linux_vdso.c | 105 Elf_Ehdr *ehdr; in __elfN() 110 ehdr = (Elf_Ehdr *)base; in __elfN()
|
| /freebsd-14-stable/stand/kboot/kboot/arch/aarch64/ |
| HD | exec.c | 118 Elf_Ehdr *ehdr; in elf64_exec() 211 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| /freebsd-14-stable/sys/kern/ |
| HD | imgact_elf.c | 86 static int __elfN(check_header)(const Elf_Ehdr *hdr); 339 const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; in __elfN() 480 __elfN(phdr_in_zero_page)(const Elf_Ehdr *hdr) in __elfN() 487 __elfN(check_header)(const Elf_Ehdr *hdr) in __elfN() 724 __elfN(load_sections)(struct image_params *imgp, const Elf_Ehdr *hdr, in __elfN() 785 const Elf_Ehdr *hdr = NULL; in __elfN() 836 hdr = (const Elf_Ehdr *)imgp->image_header; in __elfN() 922 __elfN(enforce_limits)(struct image_params *imgp, const Elf_Ehdr *hdr, in __elfN() 1097 const Elf_Ehdr *hdr; in __CONCAT() 1112 hdr = (const Elf_Ehdr *)imgp->image_header; in __CONCAT() [all …]
|
| /freebsd-14-stable/stand/efi/loader/arch/amd64/ |
| HD | elf64_freebsd.c | 94 Elf_Ehdr *ehdr; in elf64_exec() 106 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| /freebsd-14-stable/stand/efi/loader/arch/i386/ |
| HD | elf64_freebsd.c | 113 Elf_Ehdr *ehdr; in elf64_exec() 132 ehdr = (Elf_Ehdr *)&(md->md_data); in elf64_exec()
|
| /freebsd-14-stable/sys/arm/arm/ |
| HD | elf_machdep.c | 128 const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; in elf32_arm_abi_supported()
|
| /freebsd-14-stable/sys/powerpc/ofw/ |
| HD | ofw_initrd.c | 62 Elf_Ehdr ehdr; in ofw_initrd_probe_and_attach()
|