Home
last modified time | relevance | path

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

/third_party/elfutils/libelf/
Delf_getphdrnum.c116 size_t phdr_size = (elf->class == ELFCLASS32 in __elf_getphdrnum_chk_rdlock() local
118 if (unlikely (*dst > SIZE_MAX / phdr_size)) in __elf_getphdrnum_chk_rdlock()
125 if (unlikely (elf->maximum_size - off < *dst * phdr_size)) in __elf_getphdrnum_chk_rdlock()
126 *dst = (elf->maximum_size - off) / phdr_size; in __elf_getphdrnum_chk_rdlock()
Delf32_updatefile.c630 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * phnum; in __elfw2() local
632 phdr_size, ehdr->e_phoff) in __elfw2()
633 != phdr_size)) in __elfw2()
/third_party/libunwind/libunwind/src/coredump/
D_UCD_internal.h107 int _UCD_get_threadinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size);
108 int _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size);
D_UCD_get_threadinfo_prstatus.c87 _UCD_get_threadinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_threadinfo() argument
91 for (unsigned i = 0; i < phdr_size; ++i) in _UCD_get_threadinfo()
D_UCD_get_mapinfo_linux.c114 _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_mapinfo() argument
118 for (unsigned i = 0; i < phdr_size; ++i) in _UCD_get_mapinfo()
D_UCD_get_mapinfo_generic.c29 _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_mapinfo() argument
/third_party/elfutils/libdwfl/
Delf-from-memory.c201 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in elf_from_remote_memory() local
202 if (unlikely (phnum > SIZE_MAX / phdr_size)) in elf_from_remote_memory()
207 const size_t phdrsp_bytes = phnum * phdr_size; in elf_from_remote_memory()
Ddwfl_segment_report_module.c458 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in dwfl_segment_report_module() local
459 if (unlikely (phnum > SIZE_MAX / phdr_size)) in dwfl_segment_report_module()
461 const size_t phdrsp_bytes = phnum * phdr_size; in dwfl_segment_report_module()
Ddwfl_module_getdwarf.c396 size_t phdr_size = class32 ? sizeof (Elf32_Phdr) : sizeof (Elf64_Phdr); in find_prelink_address_sync() local
397 if (unlikely (phnum > SIZE_MAX / phdr_size)) in find_prelink_address_sync()
399 const size_t phdrs_bytes = phnum * phdr_size; in find_prelink_address_sync()