Searched refs:shdr (Results 1 – 1 of 1) sorted by relevance
361 Elf_Shdr *shdr = &info->sechdrs[i]; in find_sec() local363 if ((shdr->sh_flags & SHF_ALLOC) in find_sec()364 && strcmp(info->secstrings + shdr->sh_name, name) == 0) in find_sec()2997 static int validate_section_offset(struct load_info *info, Elf_Shdr *shdr) in validate_section_offset() argument3005 secend = shdr->sh_offset + shdr->sh_size; in validate_section_offset()3006 if (secend < shdr->sh_offset || secend > info->len) in validate_section_offset()3021 Elf_Shdr *shdr, *strhdr; in elf_validity_check() local3076 shdr = &info->sechdrs[i]; in elf_validity_check()3077 switch (shdr->sh_type) { in elf_validity_check()3082 if (shdr->sh_link == SHN_UNDEF in elf_validity_check()[all …]