Searched refs:phdr_size (Results 1 – 1 of 1) sorted by relevance
79 size_t phdr_size; in elf_is_ehdr_sane() local85 phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum; in elf_is_ehdr_sane()88 if (ehdr->e_phoff + phdr_size < ehdr->e_phoff) { in elf_is_ehdr_sane()91 } else if (ehdr->e_phoff + phdr_size > buf_len) { in elf_is_ehdr_sane()254 size_t phdr_size, i; in elf_read_phdrs() local261 phdr_size = sizeof(struct elf_phdr) * ehdr->e_phnum; in elf_read_phdrs()263 elf_info->proghdrs = kzalloc(phdr_size, GFP_KERNEL); in elf_read_phdrs()