Searched refs:shdr_size (Results 1 – 1 of 1) sorted by relevance
128 size_t shdr_size; in elf_is_ehdr_sane() local134 shdr_size = sizeof(struct elf_shdr) * ehdr->e_shnum; in elf_is_ehdr_sane()137 if (ehdr->e_shoff + shdr_size < ehdr->e_shoff) { in elf_is_ehdr_sane()140 } else if (ehdr->e_shoff + shdr_size > buf_len) { in elf_is_ehdr_sane()382 size_t shdr_size, i; in elf_read_shdrs() local388 shdr_size = sizeof(struct elf_shdr) * elf_info->ehdr->e_shnum; in elf_read_shdrs()390 elf_info->sechdrs = kzalloc(shdr_size, GFP_KERNEL); in elf_read_shdrs()