HomeSort by relevance Sort by last modified time
    Searched refs:e_phnum (Results 1 - 25 of 266) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/minijail/
elfparse.c 31 pHeader->e_phnum = le16toh(pHeader->e_phnum); \
35 pHeader->e_phnum = be16toh(pHeader->e_phnum); \
43 for (i = 0; i < pHeader->e_phnum; i++) { \
elfparse.h 44 Elf32_Half e_phnum; /* Program header table entry count */ member in struct:__anon27963
62 Elf64_Half e_phnum; /* Program header table entry count */ member in struct:__anon27964
  /toolchain/binutils/binutils-2.25/bfd/
elfcore.h 187 if (i_ehdrp->e_shoff != 0 && i_ehdrp->e_phnum == PN_XNUM)
208 i_ehdrp->e_phnum = i_shdr.sh_info;
209 if (i_ehdrp->e_phnum != i_shdr.sh_info)
216 if (i_ehdrp->e_phnum > 1)
224 if (i_ehdrp->e_phnum > (unsigned int) -1 / sizeof (x_phdr)
225 || i_ehdrp->e_phnum > (unsigned int) -1 / sizeof (i_phdr))
228 where = i_ehdrp->e_phoff + (i_ehdrp->e_phnum - 1) * sizeof (x_phdr);
245 amt = sizeof (*i_phdrp) * i_ehdrp->e_phnum;
253 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex)
281 for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex
    [all...]
  /external/elfutils/tests/
ecp.c 61 if (ehdr->e_phnum > 0)
65 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0)
69 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt)
newfile.c 46 ehdr->e_phnum,
125 ZERO_TEST (e_phnum);
157 VALUE_TEST (e_phnum, 10);
elfshphehdr.c 71 check ("e_phnum == 0", ehdr.e_phnum == 0);
98 check ("e_phnum == 0", ehdr.e_phnum == 0);
120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize;
138 check ("e_phnum == 1", ehdr.e_phnum == 1);
update2.c 77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
115 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
116 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
137 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
update3.c 86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
164 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
165 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
192 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
update1.c 76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
update4.c 90 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
316 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
317 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
344 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
  /external/elfutils/libelf/
gelf_update_phdr.c 84 if (ndx >= elf->state.elf32.ehdr->e_phnum
85 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM
121 if (ndx >= elf->state.elf64.ehdr->e_phnum
122 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM
elf_getphdrnum.c 52 ? elf->state.elf32.ehdr->e_phnum
53 : elf->state.elf64.ehdr->e_phnum);
elf32_newphdr.c 94 /* Set the `e_phnum' member to the new value. */
95 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0;
111 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count
153 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM;
156 /* Set the `e_phnum' member to the new value. */
157 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
gelf_update_ehdr.c 90 COPY (e_phnum);
gelf_getehdr.c 83 COPY (e_phnum);
  /bionic/libc/bionic/
dl_iterate_phdr_static.cpp 54 exe_info.dlpi_phnum = ehdr->e_phnum;
74 vdso_info.dlpi_phnum = ehdr_vdso->e_phnum;
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
ElfLoader.c 102 if ((Hdr32->e_phoff == 0) || (Hdr32->e_phentsize == 0) || (Hdr32->e_phnum == 0)) {
114 DEBUG ((EFI_D_INFO, "Number of program headers: %d\n", Hdr32->e_phnum));
118 if ((Hdr64->e_phoff == 0) || (Hdr64->e_phentsize == 0) || (Hdr64->e_phnum == 0)) {
130 DEBUG ((EFI_D_INFO, "Number of program headers: %d\n", Hdr64->e_phnum));
311 for (Index = 0; Index < ElfHdr->e_phnum; ++Index) {
  /bionic/libc/malloc_debug/
MapData.cpp 87 if (!get_val<ElfW(Half)>(entry, addr + offsetof(ElfW(Ehdr), e_phnum), &ehdr.e_phnum)) {
94 for (size_t i = 0; i < ehdr.e_phnum; i++) {
  /toolchain/binutils/binutils-2.25/include/elf/
external.h 63 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon108615
80 unsigned char e_phnum[2]; /* Program header table entry count */ member in struct:__anon108616
  /external/syslinux/com32/lib/sys/module/i386/
elf_module.c 48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize);
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module);
55 for (i=0; i < elf_hdr->e_phnum; i++) {
112 for (i = 0; i < elf_hdr->e_phnum; i++) {
  /external/syslinux/com32/lib/sys/module/x86_64/
elf_module.c 48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize);
52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module);
55 for (i=0; i < elf_hdr->e_phnum; i++) {
112 for (i = 0; i < elf_hdr->e_phnum; i++) {
  /external/valgrind/coregrind/m_ume/
elf.c 141 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum;
167 for (i = 0; i < e->e.e_phnum; i++) {
183 for (i = 0; i < e->e.e_phnum; i++) {
360 info->phnum = e->e.e_phnum;
365 for (i = 0; i < e->e.e_phnum; i++) {
419 for (j = 0; j < interp->e.e_phnum; j++) {
  /external/syslinux/gpxe/src/include/
elf.h 182 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon33109
199 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon33110
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
ReadElf.java 282 int e_phnum = readHalf(); local
288 readProgramHeaders(ph_off, e_phnum, e_phentsize);
350 private void readProgramHeaders(long ph_off, int e_phnum, int e_phentsize) throws IOException {
351 for (int i = 0; i < e_phnum; ++i) {
  /external/syslinux/com32/include/sys/
elf32.h 72 Elf32_Half e_phnum; member in struct:elf32_hdr

Completed in 1195 milliseconds

1 2 3 4 5 6 7 8 91011