/external/minijail/ |
H A D | elfparse.c | 29 pHeader->e_phoff = le ## bit ## toh(pHeader->e_phoff); \ 33 pHeader->e_phoff = be ## bit ## toh(pHeader->e_phoff); \ 40 if (fseek(elf_file, pHeader->e_phoff, SEEK_SET) != 0) \
|
H A D | elfparse.h | 39 Elf32_Off e_phoff; /* Program header table file offset */ member in struct:__anon16092 57 Elf64_Off e_phoff; /* Program header table file offset */ member in struct:__anon16093
|
/external/elfutils/tests/ |
H A D | update2.c | 76 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, 110 phdr[0].p_offset = ehdr->e_phoff; 111 phdr[0].p_offset = ehdr->e_phoff; 112 phdr[0].p_vaddr = ehdr->e_phoff; 113 phdr[0].p_paddr = ehdr->e_phoff; 136 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
|
H A D | update3.c | 85 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, 159 phdr[0].p_offset = ehdr->e_phoff; 160 phdr[0].p_offset = ehdr->e_phoff; 161 phdr[0].p_vaddr = ehdr->e_phoff; 162 phdr[0].p_paddr = ehdr->e_phoff; 191 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
|
H A D | elfshphehdr.c | 73 check ("e_phoff == 0", ehdr.e_phoff == 0); 100 check ("e_phoff == 0", ehdr.e_phoff == 0); 118 ehdr.e_phoff = ehdr.e_ehsize; 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; 140 check ("e_phoff != 0", ehdr.e_phoff != 0);
|
H A D | newfile.c | 41 ehdr->e_phoff, 120 ZERO_TEST (e_phoff); 152 ZERO_TEST (e_phoff);
|
H A D | update4.c | 89 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, 311 phdr[0].p_offset = ehdr->e_phoff; 312 phdr[0].p_offset = ehdr->e_phoff; 313 phdr[0].p_vaddr = ehdr->e_phoff; 314 phdr[0].p_paddr = ehdr->e_phoff; 343 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
|
H A D | update1.c | 75 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize, 113 ehdr->e_phoff, ehdr->e_shoff, ehdr->e_flags, ehdr->e_ehsize,
|
H A D | alldts.c | 228 phdr[0].p_offset = ehdr->e_phoff; 229 phdr[0].p_vaddr = ehdr->e_phoff; 230 phdr[0].p_paddr = ehdr->e_phoff;
|
/external/syslinux/com32/lib/sys/module/ |
H A D | elfutils.h | 23 return (Elf_Phdr*)((Elf_Off)elf_hdr + elf_hdr->e_phoff);
|
/external/syslinux/core/elflink/ |
H A D | elfutils.h | 24 return (Elf32_Phdr *) ((Elf32_Off) elf_hdr + elf_hdr->e_phoff);
|
/external/elfutils/libelf/ |
H A D | gelf_update_ehdr.c | 70 || unlikely (src->e_phoff > 0xffffffffull) 85 COPY (e_phoff);
|
H A D | elf32_getphdr.c | 78 if (phnum == 0 || ehdr->e_phoff == 0) 88 || ehdr->e_phoff > elf->maximum_size 89 || elf->maximum_size - ehdr->e_phoff < size) 99 if (unlikely (ehdr->e_phoff >= elf->maximum_size) 100 || unlikely (elf->maximum_size - ehdr->e_phoff < size)) 109 + elf->start_offset + ehdr->e_phoff); 193 elf->start_offset + ehdr->e_phoff);
|
H A D | elf_getphdrnum.c | 89 ? elf->state.elf32.ehdr->e_phoff 90 : elf->state.elf64.ehdr->e_phoff);
|
H A D | gelf_getehdr.c | 78 COPY (e_phoff);
|
H A D | elf32_updatenull.c | 113 /* If phnum is zero make sure e_phoff is also zero and not some random 115 if (ehdr->e_phnum == 0 && ehdr->e_phoff != 0) 117 ehdr->e_phoff = 0; 164 /* The user is supposed to fill out e_phoff. Use it and 167 ehdr->e_phoff 172 update_if_changed (ehdr->e_phoff,
|
H A D | elf32_updatefile.c | 186 if (ehdr->e_phoff > ehdr->e_ehsize) 188 __libelf_fill_byte, ehdr->e_phoff - ehdr->e_ehsize); 202 (*fctp) (elf->map_address + elf->start_offset + ehdr->e_phoff, 207 memcpy (elf->map_address + elf->start_offset + ehdr->e_phoff, 222 ehdr->e_phoff) 584 if (ehdr->e_phoff > ehdr->e_ehsize 586 ehdr->e_phoff - ehdr->e_ehsize, fillbuf, &filled) 621 phdr_size, ehdr->e_phoff) 644 last_offset = (ehdr->e_phoff + sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum);
|
/external/syslinux/gpxe/src/include/ |
H A D | elf.h | 177 Elf32_Off e_phoff; /* Program header file offset. */ member in struct:__anon22076 194 Elf64_Off e_phoff; /* Program header file offset. */ member in struct:__anon22077
|
/external/syslinux/com32/include/sys/ |
H A D | elf32.h | 67 Elf32_Off e_phoff; member in struct:elf32_hdr
|
H A D | elf64.h | 67 Elf64_Off e_phoff; member in struct:elf64_hdr
|
/external/syslinux/gpxe/src/image/ |
H A D | elf.c | 142 for ( phoff = ehdr.e_phoff , phnum = ehdr.e_phnum ; phnum ;
|
/external/syslinux/com32/modules/ |
H A D | elf.c | 115 if (eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) 126 ph = (Elf32_Phdr *) (cptr + eh->e_phoff);
|
/external/syslinux/efi/ |
H A D | wrapper.c | 200 phoff = e32_hdr.e_phoff; 213 phoff = e64_hdr.e_phoff;
|
/external/libunwind/src/ |
H A D | elfxx.c | 252 GET_EHDR_FIELD(ei, ehdr, e_phoff, true); 255 unw_word_t offset = ehdr->e_phoff; 394 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 408 Elf_W(Phdr) *phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff); 619 Elf_W(Phdr)* phdr = (Elf_W(Phdr)*) ((char*) ei->u.mapped.image + ehdr->e_phoff); 631 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); 633 unw_word_t offset = ehdr.e_phoff;
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_unwind_table.c | 130 GET_EHDR_FIELD(ei, &ehdr, e_phoff, false); 133 Elf_W(Off) offset = ehdr.e_phoff; 274 phdr = (Elf_W(Phdr) *) ((char *) ei->u.mapped.image + ehdr->e_phoff);
|