Searched refs:i_shdr (Results 1 – 4 of 4) sorted by relevance
190 Elf_Internal_Shdr i_shdr; in elf_core_file_p() local204 elf_swap_shdr_in (abfd, &x_shdr, &i_shdr); in elf_core_file_p()206 if (i_shdr.sh_info != 0) in elf_core_file_p()208 i_ehdrp->e_phnum = i_shdr.sh_info; in elf_core_file_p()209 if (i_ehdrp->e_phnum != i_shdr.sh_info) in elf_core_file_p()
493 Elf_Internal_Shdr i_shdr; in elf_object_p() local621 elf_swap_shdr_in (abfd, &x_shdr, &i_shdr); in elf_object_p()627 i_ehdrp->e_shnum = i_shdr.sh_size; in elf_object_p()629 || i_ehdrp->e_shnum != i_shdr.sh_size in elf_object_p()637 i_ehdrp->e_shstrndx = i_shdr.sh_link; in elf_object_p()638 if (i_ehdrp->e_shstrndx != i_shdr.sh_link) in elf_object_p()643 if (i_ehdrp->e_phnum == PN_XNUM && i_shdr.sh_info != 0) in elf_object_p()645 i_ehdrp->e_phnum = i_shdr.sh_info; in elf_object_p()646 if (i_ehdrp->e_phnum != i_shdr.sh_info) in elf_object_p()656 || i_ehdrp->e_shnum > (unsigned int) -1 / sizeof (i_shdr)) in elf_object_p()[all …]
2361 arithmetic overflow when allocating the i_shdr array.
918 Elf_Internal_Shdr *i_shdr;932 i_shdr = &elf_section_data (asec->output_section)->this_hdr;934 if (i_shdr->contents == NULL)941 contents = i_shdr->contents + asec->output_offset;956 position = i_shdr->sh_offset + asec->output_offset;