Home
last modified time | relevance | path

Searched refs:image_header (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/sys/kern/
H A Dimgact_shell.c104 const char *image_header = imgp->image_header; in exec_shell_imgact() local
112 if (((const short *)image_header)[0] != SHELLMAGIC) in exec_shell_imgact()
138 maxp = &image_header[MIN(vattr.va_size, MAXSHELLCMDLEN)]; in exec_shell_imgact()
139 ihp = &image_header[2]; in exec_shell_imgact()
H A Dimgact_binmisc.c543 imgact_binmisc_find_interpreter(const char *image_header) in imgact_binmisc_find_interpreter() argument
556 p = image_header + ibe->ibe_moffset; in imgact_binmisc_find_interpreter()
578 const char *image_header = imgp->image_header; in imgact_binmisc_exec() local
588 if ((ibe = imgact_binmisc_find_interpreter(image_header)) == NULL) { in imgact_binmisc_exec()
H A Dimgact_elf.c284 const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; in __elfN()
771 hdr = (const Elf_Ehdr *)imgp->image_header; in __elfN()
790 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
973 interp = __DECONST(char *, imgp->image_header) + phdr->p_offset; in __elfN()
1044 hdr = (const Elf_Ehdr *)imgp->image_header; in __CONCAT()
1067 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __CONCAT()
2562 note = note0 = (const Elf_Note *)(imgp->image_header + in __elfN()
2564 note_end = (const Elf_Note *)(imgp->image_header + in __elfN()
2661 hdr = (const Elf_Ehdr *)imgp->image_header; in __elfN()
2662 phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff); in __elfN()
H A Dimgact_aout.c162 const struct exec *a_out = (const struct exec *) imgp->image_header; in exec_aout_imgact()
H A Dimgact_gzip.c75 const u_char *p = (const u_char *) imgp->image_header; in exec_gzip_imgact()
H A Dkern_exec.c1046 imgp->image_header = (char *)sf_buf_kva(imgp->firstpage); in exec_map_first_page()
/freebsd-12.1/sys/i386/ibcs2/
H A Dimgact_coff.c298 const struct filehdr *fhdr = (const struct filehdr*)imgp->image_header;
329 ((const char*)(imgp->image_header) + sizeof(struct filehdr));
333 ((const char*)(imgp->image_header) + sizeof(struct filehdr) +
/freebsd-12.1/sys/sys/
H A Dimgact.h66 const char *image_header; /* head of file to exec */ member
/freebsd-12.1/sys/powerpc/powerpc/
H A Delf64_machdep.c190 const Elf64_Ehdr *hdr = (const Elf64_Ehdr *)params->image_header; in ppc64_elfv1_header_match()
199 const Elf64_Ehdr *hdr = (const Elf64_Ehdr *)params->image_header; in ppc64_elfv2_header_match()
/freebsd-12.1/sys/i386/linux/
H A Dimgact_linux.c63 const struct exec *a_out = (const struct exec *) imgp->image_header; in exec_linux_imgact()
/freebsd-12.1/sys/arm/arm/
H A Delf_machdep.c121 const Elf_Ehdr *hdr = (const Elf_Ehdr *)imgp->image_header; in elf32_arm_abi_supported()
/freebsd-12.1/sys/compat/linux/
H A Dlinux_emul.c186 const char *head = (const char *)imgp->image_header; in linux_exec_imgact_try()