/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 68 if (eh->e_phnum == 0 || eh->e_phoff == 0) { 76 allphdrs = ELFSEEK(eh->e_phoff); 138 if (eh->e_phnum == 0 || eh->e_phoff == 0) { 146 allphdrs = ELFSEEK(eh->e_phoff);
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 95 if (eh->e_phnum == 0 || eh->e_phoff == 0) 101 allphdrs = PGETBYTES(eh->e_phoff);
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | clscook.c | 316 if ((eh->e_phoff == 0) || 317 (elf->ed_fsz <= eh->e_phoff) || 318 (elf->ed_fsz - eh->e_phoff < fsz)) { 323 if (inplace && fsz >= msz && eh->e_phoff % sizeof (ElfField) == 0) { 324 elf->ed_phdr = (Elf_Void *)(elf->ed_ident + eh->e_phoff); 333 src.d_buf = (Elf_Void *)(elf->ed_ident + eh->e_phoff); 340 if ((_elf_vm(elf, (size_t)eh->e_phoff, fsz) != OK_YES) ||
|
H A D | update.c | 185 eh->e_phoff = (Off)hi; 188 eh->e_phoff = 0; 378 if ((sz = eh->e_phoff + eh->e_phentsize * eh->e_phnum) > hi) 562 dst.d_buf = (Elf_Void *)(image + eh->e_phoff); 564 hi = (Xword)(eh->e_phoff + dst.d_size);
|
H A D | gelf.c | 107 dst->e_phoff = (Elf64_Off)e->e_phoff; 167 d->e_phoff = (Elf32_Off)src->e_phoff;
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | elf.h | 171 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon2085 188 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon2086
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 96 dbg_print(lml, MSG_ORIG(MSG_ELFX_PHOFF), EC_OFF(ehdr->e_phoff), 100 dbg_print(lml, MSG_ORIG(MSG_ELF_PHOFF), EC_OFF(ehdr->e_phoff),
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 71 if ((eh->e_phnum == 0) || (eh->e_phoff == 0)) { 80 if ((phdrs = ELFSEEK(eh->e_phoff)) == NULL) {
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 454 (void) memcpy(ep, ehdr, offsetof(Ehdr, e_phoff)); 457 ep->e_phoff = sizeof (Ehdr); 460 ep->e_shoff = ep->e_phoff + phnum * ep->e_phentsize; 479 if (Pread(P, &elfdata[ep->e_phoff], phnum * ep->e_phentsize, 480 addr + ehdr->e_phoff) != phnum * ep->e_phentsize) {
|
H A D | Pcontrol.h | 181 Elf64_Off e_phoff; member in struct:elf_file_header
|
H A D | Pcore.c | 1653 efp->e_hdr.e_phoff = e64.e_phoff; 1673 efp->e_hdr.e_phoff = (Elf64_Off)e32.e_phoff; 1740 } else if (efp->e_hdr.e_phoff != 0) { 1757 efp->e_hdr.e_phoff) != sizeof (phdr32)) { 1766 efp->e_hdr.e_phoff) != sizeof (phdr)) { 1793 if (efp->e_hdr.e_shoff == efp->e_hdr.e_phoff + 1797 efp->e_hdr.e_phoff + 2390 if (pread64(core_fd, phbuf, nbytes, core.e_hdr.e_phoff) ! [all...] |
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | i386-elf.h | 74 Elf32_Off e_phoff; /* program header table file offset */ member in struct:__anon2184
|
H A D | boot.c | 116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum == 0 117 || ((pu.elf->e_phoff + (pu.elf->e_phentsize * pu.elf->e_phnum)) 602 (pu.elf->e_phoff + ((int) buffer)
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 82 off = rl->rl_base + ehdr.e_phoff;
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf32.h | 61 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon407
|
H A D | elf64.h | 70 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon424
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 140 if (lseek(fd, h.e_phoff, SEEK_SET) != h.e_phoff ||
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 355 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) 372 dprintf("lseek: args = %x %x %x\n", fd, elfhdrp->e_phoff, 0); 373 if (lseek(fd, elfhdrp->e_phoff, 0) == -1) 755 if (elfhdrp->e_phnum == 0 || elfhdrp->e_phoff == 0) 772 (u_longlong_t)elfhdrp->e_phoff, 0); 773 if (lseek(fd, elfhdrp->e_phoff, 0) == -1)
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 125 dst->e_phoff = (Elf64_Off)src->e_phoff;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | elf.h | 75 Elf32_Off e_phoff; /* phdr file offset */ member in struct:__anon252 93 Elf64_Off e_phoff; /* phdr file offset */ member in struct:__anon253
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 167 phdr = (Elf32_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 167 phdr = (Elf32_Phdr *)((caddr_t)ehdr + ehdr->e_phoff);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 151 hdr.elf_hdr.e_phoff = offsetof(ksyms_header_t, text_phdr);
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fastboot.c | 374 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) 377 phdrbase = (uint8_t *)img + ehdr->e_phoff; 413 if ((ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize) >= imgsz) 416 phdrbase = (uint8_t *)img + ehdr->e_phoff;
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/ |
H A D | boot2.c | 188 fs_off = eh.e_phoff;
|