Elf_Phdr
phdr_info.dlpi_phdr = (const Elf_Phdr *) auxp->a_un.a_ptr;
const Elf_Phdr *ph;
Elf_Phdr *phdr;
if (phdr == NULL || phent != sizeof(Elf_Phdr) || phnum == 0)
Elf_Phdr *p;
p = (Elf_Phdr*)((char*)e + e->e_phoff);
phdr = (Elf_Phdr *) ((char *)hdr + hdr->e_phoff);
(hdr->e_phoff + hdr->e_phnum * sizeof (Elf_Phdr))) {
obj->phdr = (const Elf_Phdr *) (obj->relocbase + phdr_vaddr);
if (hdr->e_phentsize != sizeof(Elf_Phdr)) {
if (hdr->e_phoff + hdr->e_phnum * sizeof(Elf_Phdr) >
Elf_Phdr *phdr;
Elf_Phdr *phlimit;
Elf_Phdr **segs;
Elf_Phdr *phdyn;
Elf_Phdr *phinterp;
Elf_Phdr *phtls;
digest_phdr(const Elf_Phdr *phdr, int phnum, caddr_t entry, const char *path)
const Elf_Phdr *phlimit = phdr + phnum;
const Elf_Phdr *ph;
objtmp.phdr = (Elf_Phdr *)((char *)mapbase + ehdr->e_phoff);
const Elf_Phdr *ph;
const Elf_Phdr *phdr;
phdr = (const Elf_Phdr *) aux_info[AT_PHDR]->a_un.a_ptr;
assert(aux_info[AT_PHENT]->a_un.a_val == sizeof(Elf_Phdr));
static Obj_Entry *digest_phdr(const Elf_Phdr *, int, caddr_t, const char *);
const Elf_Phdr *phdr; /* Program header if it is mapped, else NULL */
Elf_Phdr *phdr, *php;
phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff);
Elf_Phdr *ph;
Elf_Phdr *php;
php = (Elf_Phdr *)(target.buf + sizeof(Elf_Ehdr)) + 1;
Elf_Phdr *phdr = phc->phdr;
Elf_Phdr *phdr = &vnh->vnh_phdr;
Elf_Phdr *phdr;
phdr = target_reserve(target, (numsegs + 1) * sizeof(Elf_Phdr), &error);
ehdr->e_phentsize = sizeof(Elf_Phdr);
const Elf_Phdr *phdr, *pnote;
phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
int32_t *osrel, const Elf_Phdr * pnote)
extract_interpreter(struct image_params *imgp, const Elf_Phdr *pinterpreter,
hdr->e_phentsize != sizeof(Elf_Phdr) ||
const Elf_Phdr *phdr = NULL;
phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
const Elf_Phdr *phdr;
phdr = (const Elf_Phdr *)(imgp->image_header + hdr->e_phoff);
Elf_Phdr *phdr; /* Program header to fill in (incremented) */
Elf_Phdr *phdr_max; /* Pointer bound for error check */
Elf_Brandnote *checknote, int32_t *osrel, const Elf_Phdr * pnote);
const Elf_Phdr *pinterpreter, char *data);
if (!(ehdr->e_phentsize == sizeof(Elf_Phdr))) {
ehdr->e_phentsize, sizeof(Elf_Phdr)));
elf_getphdrs(struct file *fp, Elf_Phdr *phdr, size_t nbyte)
int nheaders = nbyte/sizeof(Elf_Phdr);
Elf_Phdr *phdr = NULL;
nbyte = sizeof(Elf_Phdr) * ehdr->e_phnum;
mmap_phdr(struct file *fp, Elf_Phdr *phdr)
elf_loadphdrs(struct file *fp, Elf_Phdr *phdr, int numsegs)
Elf_Phdr *phdr;
static int elf_loadphdrs(struct file *fp, Elf_Phdr *phdr, int numsegs);
Elf_Phdr *phdr;
Elf_Phdr *phlimit;
Elf_Phdr *segs[2];
Elf_Phdr *phdyn;
if (!((hdr->e_phentsize == sizeof(Elf_Phdr)) &&
(hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= PAGE_SIZE) &&
(hdr->e_phoff + hdr->e_phnum*sizeof(Elf_Phdr) <= nbytes)))
phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff);
Elf_Phdr phdr;
ehdr.e_phentsize = sizeof(Elf_Phdr);
Elf_Phdr vnh_phdr;
const Elf_Phdr *dlpi_phdr; /* pointer to module's phdr */
Elf_Phdr *phdr;
phdr = (Elf_Phdr *)((char *)ehdr + ehdr->e_phoff);
php = (Elf_Phdr *)((char *)hdr + sizeof(Elf_Ehdr)) + 1;
Elf_Phdr *phdr = phc->phdr;
*off += (numsegs + 1) * sizeof(Elf_Phdr);
Elf_Phdr *phdr;
ehdr->e_phentsize = sizeof(Elf_Phdr);
phdr = (Elf_Phdr *)((char *)dst + phoff);
Elf_Phdr *phdr; /* Program header to fill in */
Elf_Phdr *php;
Elf_Phdr phdr;
Elf_Phdr phdr;