Searched refs:phdr_size (Results 1 – 5 of 5) sorted by relevance
104 size_t phdr_size = (elf->class == ELFCLASS32 in __elf_getphdrnum_chk_rdlock() local106 if (unlikely (*dst > SIZE_MAX / phdr_size)) in __elf_getphdrnum_chk_rdlock()113 if (unlikely (elf->maximum_size - off < *dst * phdr_size)) in __elf_getphdrnum_chk_rdlock()114 *dst = (elf->maximum_size - off) / phdr_size; in __elf_getphdrnum_chk_rdlock()
619 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum; in __elfw2() local621 phdr_size, ehdr->e_phoff) in __elfw2()622 != phdr_size)) in __elfw2()
195 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in elf_from_remote_memory() local196 if (unlikely (phnum > SIZE_MAX / phdr_size)) in elf_from_remote_memory()201 const size_t phdrsp_bytes = phnum * phdr_size; in elf_from_remote_memory()
412 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in dwfl_segment_report_module() local413 if (unlikely (phnum > SIZE_MAX / phdr_size)) in dwfl_segment_report_module()415 const size_t phdrsp_bytes = phnum * phdr_size; in dwfl_segment_report_module()
390 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in find_prelink_address_sync() local391 if (unlikely (phnum > SIZE_MAX / phdr_size)) in find_prelink_address_sync()393 const size_t phdrs_bytes = phnum * phdr_size; in find_prelink_address_sync()