Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/bfd/
Delf-attrs.c453 bfd_vma section_len; in _bfd_elf_parse_attributes() local
456 section_len = bfd_get_32 (abfd, p); in _bfd_elf_parse_attributes()
458 if (section_len == 0) in _bfd_elf_parse_attributes()
460 if (section_len > len) in _bfd_elf_parse_attributes()
461 section_len = len; in _bfd_elf_parse_attributes()
462 len -= section_len; in _bfd_elf_parse_attributes()
463 section_len -= 4; in _bfd_elf_parse_attributes()
464 namelen = strnlen ((char *) p, section_len) + 1; in _bfd_elf_parse_attributes()
465 if (namelen == 0 || namelen >= section_len) in _bfd_elf_parse_attributes()
467 section_len -= namelen; in _bfd_elf_parse_attributes()
[all …]
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c12875 bfd_vma section_len; in process_attributes() local
12877 section_len = sect->sh_size - 1; in process_attributes()
12880 while (section_len > 0) in process_attributes()
12887 if (section_len <= 4) in process_attributes()
12895 if (attr_len > section_len) in process_attributes()
12898 (unsigned) attr_len, (unsigned) section_len); in process_attributes()
12899 attr_len = section_len; in process_attributes()
12908 section_len -= attr_len; in process_attributes()
12946 section_len = 0; in process_attributes()
12963 section_len = 0; in process_attributes()