Home
last modified time | relevance | path

Searched refs:e_phnum (Results 1 - 25 of 63) sorted by relevance

123

/third_party/elfutils/tests/
H A Dupdate2.c78 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
116 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
117 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
138 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
H A Decp.c61 if (ehdr->e_phnum > 0) in main()
65 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) in main()
69 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in main()
H A Delfshphehdr.c71 check ("e_phnum == 0", ehdr.e_phnum == 0); in test()
98 check ("e_phnum == 0", ehdr.e_phnum == 0); in test()
120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test()
138 check ("e_phnum == 1", ehdr.e_phnum == 1); in test()
H A Dupdate3.c87 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
165 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
166 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
193 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
H A Dnewfile.c46 ehdr->e_phnum, in print_ehdr()
125 ZERO_TEST (e_phnum); in main()
157 VALUE_TEST (e_phnum, 10); in main()
H A Dupdate4.c91 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
317 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
318 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
345 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
H A Dupdate1.c77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
115 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
H A Dalldts.c234 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
235 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
H A Dshowptable.c76 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt) in main()
/third_party/elfutils/libelf/
H A Dgelf_update_phdr.c84 if (ndx >= elf->state.elf32.ehdr->e_phnum in gelf_update_phdr()
85 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
121 if (ndx >= elf->state.elf64.ehdr->e_phnum in gelf_update_phdr()
122 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
H A Delf32_newphdr.c97 /* Set the `e_phnum' member to the new value. */ in ElfW2()
98 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; in ElfW2()
114 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count in ElfW2()
156 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM; in ElfW2()
159 /* Set the `e_phnum' member to the new value. */ in ElfW2()
160 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count; in ElfW2()
H A Delf_getphdrnum.c53 ? elf->state.elf32.ehdr->e_phnum in __elf_getphdrnum_rdlock()
54 : elf->state.elf64.ehdr->e_phnum); in __elf_getphdrnum_rdlock()
H A Dgelf_getehdr.c83 COPY (e_phnum); in __gelf_getehdr_rdlock()
H A Dgelf_update_ehdr.c90 COPY (e_phnum); in gelf_update_ehdr()
/third_party/libunwind/libunwind/src/coredump/
H A D_UCD_create.c122 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()
/third_party/libunwind/libunwind/src/
H A Ddl-iterate-phdr.c84 info.dlpi_phnum = ehdr->e_phnum; in dl_iterate_phdr()
/third_party/elfutils/libdwfl/
H A Delf-from-memory.c138 phnum = ehdr.e32.e_phnum; in elf_from_remote_memory()
155 phnum = ehdr.e64.e_phnum; in elf_from_remote_memory()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
H A Delf_mem_image.cc107 ABSL_RAW_CHECK(index < ehdr_->e_phnum, "index out of range");
199 for (int i = 0; i < ehdr_->e_phnum; ++i) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELF.h194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) in program_headers()
198 (getHeader()->e_phnum * getHeader()->e_phentsize) > in program_headers()
203 ", e_phnum = " + Twine(getHeader()->e_phnum) + in program_headers()
207 return makeArrayRef(Begin, Begin + getHeader()->e_phnum); in program_headers()
/third_party/libunwind/libunwind/src/ia64/
H A DGfind_unwind_table.c109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()
/third_party/musl/src/internal/linux/
H A Dvdso.c79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info()
/third_party/musl/porting/linux/user/src/internal/
H A Dvdso.c79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info()
/third_party/musl/src/internal/
H A Dvdso.c52 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __vdsosym()
/third_party/elfio/elfio/
H A Delfio_header.hpp142 ELFIO_GET_SET_ACCESS( Elf_Half, segments_num, header.e_phnum );
/third_party/elfio/c_wrapper/
H A Delf_types_c_wrapper.hpp725 Elf_Half e_phnum; member
743 Elf_Half e_phnum; member

Completed in 11 milliseconds

123