Home
last modified time | relevance | path

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

1234

/external/minijail/
Delfparse.c38 pHeader->e_phnum = le16toh(pHeader->e_phnum); \
42 pHeader->e_phnum = be16toh(pHeader->e_phnum); \
50 for (i = 0; i < pHeader->e_phnum; i++) { \
Delfparse.h38 Elf32_Half e_phnum; /* Program header table entry count */ member
56 Elf64_Half e_phnum; /* Program header table entry count */ member
/external/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()
/external/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()
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()
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()
Dalldts.c233 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
234 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dinvalid-e_phoff.test2 ## such that e_phoff + e_phnum * sizeof(Elf_Phdr) is past the end of the file,
18 # CASE1: error: program headers are longer than binary of size 65: e_phoff = 0x40, e_phnum = 1, e_p…
33 # CASE2: error: program headers are longer than binary of size 120: e_phoff = 0x40000000, e_phnum =…
/external/llvm-project/llvm/test/tools/llvm-objdump/ELF/
Dinvalid-phdr.test7 … program headers are longer than binary of size 280: e_phoff = 0xffffff, e_phnum = 0, e_phentsize …
8 … program headers are longer than binary of size 280: e_phoff = 0xffffff, e_phnum = 0, e_phentsize …
/external/kernel-headers/original/uapi/linux/
Delf.h216 Elf32_Half e_phnum; member
233 Elf64_Half e_phnum; member
/external/libtextclassifier/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()
/external/rust/crates/grpcio-sys/grpc/third_party/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()
/external/webrtc/third_party/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()
/external/angle/third_party/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()
/external/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()
/external/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()
/external/openscreen/third_party/abseil/src/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()

1234