Searched refs:shdr_size (Results 1 – 1 of 1) sorted by relevance
98 size_t shdr_size; in elf_is_ehdr_sane() local104 shdr_size = sizeof(struct elf_shdr) * ehdr->e_shnum; in elf_is_ehdr_sane()107 if (ehdr->e_shoff + shdr_size < ehdr->e_shoff) { in elf_is_ehdr_sane()110 } else if (ehdr->e_shoff + shdr_size > buf_len) { in elf_is_ehdr_sane()