Searched refs:buf_ehdr (Results 1 – 1 of 1) sorted by relevance
121 struct elfhdr *buf_ehdr; in elf_read_ehdr() local123 if (len < sizeof(*buf_ehdr)) { in elf_read_ehdr()144 buf_ehdr = (struct elfhdr *) buf; in elf_read_ehdr()145 if (elf16_to_cpu(ehdr, buf_ehdr->e_ehsize) != sizeof(*buf_ehdr)) { in elf_read_ehdr()150 ehdr->e_type = elf16_to_cpu(ehdr, buf_ehdr->e_type); in elf_read_ehdr()162 ehdr->e_entry = elf64_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr()163 ehdr->e_phoff = elf64_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr()164 ehdr->e_shoff = elf64_to_cpu(ehdr, buf_ehdr->e_shoff); in elf_read_ehdr()168 ehdr->e_entry = elf32_to_cpu(ehdr, buf_ehdr->e_entry); in elf_read_ehdr()169 ehdr->e_phoff = elf32_to_cpu(ehdr, buf_ehdr->e_phoff); in elf_read_ehdr()[all …]