Searched refs:phdr_size (Results 1 – 9 of 9) sorted by relevance
/third_party/elfutils/libelf/ |
D | elf_getphdrnum.c | 116 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()
|
D | elf32_updatefile.c | 630 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.h | 107 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.c | 87 _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.c | 114 _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.c | 29 _UCD_get_mapinfo(struct UCD_info *ui, coredump_phdr_t *phdrs, unsigned phdr_size) in _UCD_get_mapinfo() argument
|
/third_party/elfutils/libdwfl/ |
D | elf-from-memory.c | 201 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()
|
D | dwfl_segment_report_module.c | 458 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()
|
D | dwfl_module_getdwarf.c | 396 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()
|