Home
last modified time | relevance | path

Searched refs:phentsize (Results 1 – 22 of 22) sorted by relevance

/external/elfutils/libdwfl/
Delf-from-memory.c124 uint_fast16_t phentsize; in elf_from_remote_memory() local
139 phentsize = ehdr.e32.e_phentsize; in elf_from_remote_memory()
140 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0) in elf_from_remote_memory()
156 phentsize = ehdr.e64.e_phentsize; in elf_from_remote_memory()
157 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0) in elf_from_remote_memory()
172 xlatefrom.d_size = phnum * phentsize; in elf_from_remote_memory()
174 if ((size_t) nread >= phoff + phnum * phentsize) in elf_from_remote_memory()
181 if (initial_bufsize < (size_t)phnum * phentsize) in elf_from_remote_memory()
183 unsigned char *newbuf = realloc (buffer, phnum * phentsize); in elf_from_remote_memory()
193 phnum * phentsize, phnum * phentsize); in elf_from_remote_memory()
Ddwfl_segment_report_module.c357 uint_fast16_t phentsize; in dwfl_segment_report_module() local
398 phentsize = ehdr.e32.e_phentsize; in dwfl_segment_report_module()
399 if (phentsize != sizeof (Elf32_Phdr)) in dwfl_segment_report_module()
416 phentsize = ehdr.e64.e_phentsize; in dwfl_segment_report_module()
417 if (phentsize != sizeof (Elf64_Phdr)) in dwfl_segment_report_module()
435 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module()
449 phnum = ph_buffer_size / phentsize; in dwfl_segment_report_module()
680 && likely (filesz_offset >= phoff + phnum * phentsize)) in dwfl_segment_report_module()
Ddwfl_module_getdwarf.c332 size_t phentsize = gelf_fsize (mod->main.elf, ELF_T_PHDR, 1, EV_CURRENT); in find_prelink_address_sync() local
339 || ehdr.e32.e_phentsize != phentsize) in find_prelink_address_sync()
347 || ehdr.e64.e_phentsize != phentsize) in find_prelink_address_sync()
357 + phnum * phentsize in find_prelink_address_sync()
391 src.d_size = phnum * phentsize; in find_prelink_address_sync()
Drelocate.c603 size_t phentsize = gelf_fsize (relocated, ELF_T_PHDR, 1, EV_CURRENT); in relocate_section() local
604 GElf_Off phdrs_end = phdrs_start + phnums * phentsize; in relocate_section()
DChangeLog1264 actually used ehsize, shentsize and phentsize.
/external/toybox/toys/posix/
Dfile.c36 stripped = 1, phentsize, phnum, shsize, shnum, bail = 0; local
77 phentsize = elf_int(toybuf+42+12*bits, 2);
86 if (phnum && (phentsize != 32+24*bits)) {
87 printf(", bad phentsize %d?", phentsize);
90 if (phoff>TT.len || phnum*phentsize>TT.len-phoff) {
109 char *phdr = map+phoff+i*phentsize;
/external/elfutils/tests/
Delfshphehdr.c145 size_t phentsize = (class == ELFCLASS32 in test() local
147 check ("e_phentsize", ehdr.e_phentsize == phentsize); in test()
/external/toybox/toys/other/
Dreadelf.c39 int bits, endian, shnum, shentsize, phentsize;
143 char *phdr = TT.elf+TT.phoff+i*TT.phentsize; in get_ph()
145 if (phdr > TT.elf+TT.size-TT.phentsize) { in get_ph()
377 TT.phentsize = elf_short(&hdr); in scan_elf()
405 printf(" Size of program headers: %d (bytes)\n", TT.phentsize); in scan_elf()
/external/musl/ldso/
Ddlstart.c107 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local
109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
Ddynlink.c72 size_t phentsize; member
581 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps()
811 dso->phentsize = eh->e_phentsize; in map_library()
1446 for (cnt = p->phnum; cnt--; ph = (void *)((char *)ph + p->phentsize)) { in kernel_mapped_dso()
1739 ldso.phentsize = ehdr->e_phentsize; in __dls2()
1846 app.phentsize = aux[AT_PHENT]; in __dls3()
1980 vdso.phentsize = ehdr->e_phentsize; in __dls3()
2263 size_t entsz = p->phentsize; in addr2dso()
/external/llvm/test/Object/
Dcorrupt.test36 RUN: %p/Inputs/corrupt-invalid-phentsize.elf.x86-64 2>&1 | \
/external/toybox/android/linux/generated/
Dglobals.h446 int bits, endian, shnum, shentsize, phentsize; member
/external/toybox/android/device/generated/
Dglobals.h446 int bits, endian, shnum, shentsize, phentsize; member
/external/toybox/android/mac/generated/
Dglobals.h446 int bits, endian, shnum, shentsize, phentsize; member
/external/openscreen/third_party/abseil/src/absl/debugging/
Dsymbolize_elf.inc1282 const int phentsize = obj->elf_header.e_phentsize;
1292 phoff += phentsize;
/external/libtextclassifier/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1282 const int phentsize = obj->elf_header.e_phentsize;
1292 phoff += phentsize;
/external/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1305 const int phentsize = obj->elf_header.e_phentsize;
1315 phoff += phentsize;
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1282 const int phentsize = obj->elf_header.e_phentsize;
1292 phoff += phentsize;
/external/webrtc/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1327 const int phentsize = obj->elf_header.e_phentsize;
1337 phoff += phentsize;
/external/cronet/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1337 const int phentsize = obj->elf_header.e_phentsize;
1347 phoff += phentsize;
/external/angle/third_party/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1339 const int phentsize = obj->elf_header.e_phentsize;
1349 phoff += phentsize;
/external/tensorflow/third_party/absl/abseil-cpp/absl/debugging/
Dsymbolize_elf.inc1313 const int phentsize = obj->elf_header.e_phentsize;
1323 phoff += phentsize;