Searched refs:strhdr (Results 1 – 1 of 1) sorted by relevance
2024 Elf_Shdr *strhdr, *shdr; in elf_validity_cache_secstrings() local2039 strhdr = &info->sechdrs[info->hdr->e_shstrndx]; in elf_validity_cache_secstrings()2041 if (strhdr->sh_type != SHT_STRTAB) { in elf_validity_cache_secstrings()2042 pr_err("Invalid ELF section name table type: %u\n", strhdr->sh_type); in elf_validity_cache_secstrings()2051 secstrings = (void *)info->hdr + strhdr->sh_offset; in elf_validity_cache_secstrings()2052 if (strhdr->sh_size == 0) { in elf_validity_cache_secstrings()2056 if (secstrings[strhdr->sh_size - 1] != '\0') { in elf_validity_cache_secstrings()2066 if (shdr->sh_name >= strhdr->sh_size) { in elf_validity_cache_secstrings()