Home
last modified time | relevance | path

Searched refs:phdr_size (Results 1 – 5 of 5) sorted by relevance

/external/elfutils/libelf/
Delf_getphdrnum.c104 size_t phdr_size = (elf->class == ELFCLASS32 in __elf_getphdrnum_chk_rdlock() local
106 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()
Delf32_updatefile.c619 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum; in __elfw2() local
621 phdr_size, ehdr->e_phoff) in __elfw2()
622 != phdr_size)) in __elfw2()
/external/elfutils/libdwfl/
Delf-from-memory.c195 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in elf_from_remote_memory() local
196 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()
Ddwfl_segment_report_module.c412 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in dwfl_segment_report_module() local
413 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()
Ddwfl_module_getdwarf.c390 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in find_prelink_address_sync() local
391 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()