Home
last modified time | relevance | path

Searched refs:i_shdr (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Delfcore.h190 Elf_Internal_Shdr i_shdr; in elf_core_file_p() local
204 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()
Delfcode.h493 Elf_Internal_Shdr i_shdr; in elf_object_p() local
621 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 …]
DChangeLog-20052361 arithmetic overflow when allocating the i_shdr array.
/toolchain/binutils/binutils-2.25/ld/emultempl/
Delf32.em918 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;