Searched refs:section_len (Results 1 – 4 of 4) sorted by relevance
502 size_t section_len; in _bfd_elf_parse_attributes() local505 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()507 if (section_len == 0) in _bfd_elf_parse_attributes()509 if (section_len > len) in _bfd_elf_parse_attributes()510 section_len = len; in _bfd_elf_parse_attributes()511 if (section_len <= 4) in _bfd_elf_parse_attributes()515 abfd, (long) section_len); in _bfd_elf_parse_attributes()518 section_len -= 4; in _bfd_elf_parse_attributes()519 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()520 if (namelen >= section_len) in _bfd_elf_parse_attributes()[all …]
528 size_t section_len; in _bfd_elf_parse_attributes() local531 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()533 if (section_len == 0) in _bfd_elf_parse_attributes()535 if (section_len > len) in _bfd_elf_parse_attributes()536 section_len = len; in _bfd_elf_parse_attributes()537 if (section_len <= 4) in _bfd_elf_parse_attributes()541 abfd, (long) section_len); in _bfd_elf_parse_attributes()544 section_len -= 4; in _bfd_elf_parse_attributes()545 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()546 if (namelen >= section_len) in _bfd_elf_parse_attributes()[all …]
17928 bfd_vma section_len; in process_attributes() local17930 section_len = sect->sh_size - 1; in process_attributes()17933 while (section_len > 0) in process_attributes()17940 if (section_len <= 4) in process_attributes()17949 if (attr_len > section_len) in process_attributes()17952 (unsigned) attr_len, (unsigned) section_len); in process_attributes()17953 attr_len = section_len; in process_attributes()17964 section_len -= attr_len; in process_attributes()18004 section_len = 0; in process_attributes()18023 section_len = 0; in process_attributes()
18660 uint64_t section_len; in process_attributes() local18662 section_len = sect->sh_size - 1; in process_attributes()18665 while (section_len > 0) in process_attributes()18672 if (section_len <= 4) in process_attributes()18681 if (attr_len > section_len) in process_attributes()18684 (unsigned) attr_len, (unsigned) section_len); in process_attributes()18685 attr_len = section_len; in process_attributes()18696 section_len -= attr_len; in process_attributes()18736 section_len = 0; in process_attributes()18755 section_len = 0; in process_attributes()