Home
last modified time | relevance | path

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

/openbmc/linux/kernel/module/
H A Dmain.c1672 Elf_Shdr *shdr, *strhdr; in elf_validity_cache_copy() local
1732 strhdr = &info->sechdrs[info->hdr->e_shstrndx]; in elf_validity_cache_copy()
1733 err = validate_section_offset(info, strhdr); in elf_validity_cache_copy()
1735 pr_err("Invalid ELF section hdr(type %u)\n", strhdr->sh_type); in elf_validity_cache_copy()
1744 info->secstrings = (void *)info->hdr + strhdr->sh_offset; in elf_validity_cache_copy()
1745 if (strhdr->sh_size == 0) { in elf_validity_cache_copy()
1749 if (info->secstrings[strhdr->sh_size - 1] != '\0') { in elf_validity_cache_copy()
1801 if (shdr->sh_name >= strhdr->sh_size) { in elf_validity_cache_copy()