Home
last modified time | relevance | path

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

/external/elfutils/0.153/libdwfl/
Delf-from-memory.c134 uint_fast16_t phentsize; in elf_from_remote_memory() local
149 phentsize = ehdr.e32.e_phentsize; in elf_from_remote_memory()
150 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0) in elf_from_remote_memory()
161 phentsize = ehdr.e64.e_phentsize; in elf_from_remote_memory()
162 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0) in elf_from_remote_memory()
176 xlatefrom.d_size = phnum * phentsize; in elf_from_remote_memory()
178 if ((size_t) nread >= phoff + phnum * phentsize) in elf_from_remote_memory()
185 if (initial_bufsize < phnum * phentsize) in elf_from_remote_memory()
187 unsigned char *newbuf = realloc (buffer, phnum * phentsize); in elf_from_remote_memory()
196 phnum * phentsize, phnum * phentsize); in elf_from_remote_memory()
Ddwfl_segment_report_module.c186 uint_fast16_t phentsize; in dwfl_segment_report_module() local
210 phentsize = ehdr.e32.e_phentsize; in dwfl_segment_report_module()
211 if (phentsize != sizeof (Elf32_Phdr)) in dwfl_segment_report_module()
223 phentsize = ehdr.e64.e_phentsize; in dwfl_segment_report_module()
224 if (phentsize != sizeof (Elf64_Phdr)) in dwfl_segment_report_module()
241 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module()
398 && likely (filesz_offset >= phoff + phnum * phentsize)) in dwfl_segment_report_module()
Ddwfl_module_getdwarf.c365 size_t phentsize = gelf_fsize (mod->main.elf, ELF_T_PHDR, 1, EV_CURRENT); in find_prelink_address_sync() local
372 || ehdr.e32.e_phentsize != phentsize) in find_prelink_address_sync()
380 || ehdr.e64.e_phentsize != phentsize) in find_prelink_address_sync()
390 + phnum * phentsize in find_prelink_address_sync()
422 src.d_size = phnum * phentsize; in find_prelink_address_sync()