Searched refs:phentsize (Results 1 – 2 of 2) sorted by relevance
134 uint_fast16_t phentsize; in elf_from_remote_memory() local149 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()
182 uint_fast16_t phentsize; in dwfl_segment_report_module() local206 phentsize = ehdr.e32.e_phentsize; in dwfl_segment_report_module()207 if (phentsize != sizeof (Elf32_Phdr)) in dwfl_segment_report_module()219 phentsize = ehdr.e64.e_phentsize; in dwfl_segment_report_module()220 if (phentsize != sizeof (Elf64_Phdr)) in dwfl_segment_report_module()237 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module()393 && likely (filesz_offset >= phoff + phnum * phentsize)) in dwfl_segment_report_module()