Home
last modified time | relevance | path

Searched refs:e_phnum (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/elfutils/libelf/
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()
Delf32_newphdr.c98 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()
160 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count; in ElfW2()
Delf_getphdrnum.c53 ? elf->state.elf32.ehdr->e_phnum in __elf_getphdrnum_rdlock()
54 : elf->state.elf64.ehdr->e_phnum); in __elf_getphdrnum_rdlock()
Dgelf_update_ehdr.c90 COPY (e_phnum); in gelf_update_ehdr()
Dgelf_getehdr.c83 COPY (e_phnum); in __gelf_getehdr_rdlock()
/third_party/elfutils/tests/
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()
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()
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()
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()
Dnewfile.c46 ehdr->e_phnum, in print_ehdr()
125 ZERO_TEST (e_phnum); in main()
157 VALUE_TEST (e_phnum, 10); in main()
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()
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()
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()
Dshowptable.c76 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt) in main()
/third_party/libunwind/src/coredump/
D_UCD_create.c122 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc107 ABSL_RAW_CHECK(index < ehdr_->e_phnum, "index out of range"); in ElfW()
199 for (int i = 0; i < ehdr_->e_phnum; ++i) { in Init()
/third_party/elfutils/libdwfl/
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/libunwind/src/
Ddl-iterate-phdr.c84 info.dlpi_phnum = ehdr->e_phnum; in dl_iterate_phdr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
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/musl/src/internal/
Dvdso.c52 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __vdsosym()
/third_party/musl/porting/linux/user/src/internal/
Dvdso.c79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info()
/third_party/libunwind/include/win/
Dfreebsd-elf32.h66 Elf32_Half e_phnum; /* Number of program header entries. */ member
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h66 Elf32_Half e_phnum; /* Number of program header entries. */ member
Dfreebsd-elf64.h79 Elf64_Half e_phnum; /* Number of program header entries. */ member
/third_party/libunwind/src/ia64/
DGfind_unwind_table.c109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()

1234