Home
last modified time | relevance | path

Searched refs:section_len (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Delf-attrs.c461 bfd_vma section_len; in _bfd_elf_parse_attributes() local
464 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()
466 if (section_len == 0) in _bfd_elf_parse_attributes()
468 if (section_len > len) in _bfd_elf_parse_attributes()
469 section_len = len; in _bfd_elf_parse_attributes()
470 len -= section_len; in _bfd_elf_parse_attributes()
471 section_len -= 4; in _bfd_elf_parse_attributes()
472 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()
473 if (namelen == 0 || namelen >= section_len) in _bfd_elf_parse_attributes()
475 section_len -= namelen; in _bfd_elf_parse_attributes()
[all …]
/toolchain/binutils/binutils-2.27/binutils/
Dreadelf.c14101 bfd_vma section_len; in process_attributes() local
14103 section_len = sect->sh_size - 1; in process_attributes()
14106 while (section_len > 0) in process_attributes()
14113 if (section_len <= 4) in process_attributes()
14121 if (attr_len > section_len) in process_attributes()
14124 (unsigned) attr_len, (unsigned) section_len); in process_attributes()
14125 attr_len = section_len; in process_attributes()
14134 section_len -= attr_len; in process_attributes()
14172 section_len = 0; in process_attributes()
14189 section_len = 0; in process_attributes()