Elf64_Ehdr
Elf64_Ehdr *eh;
valid_elf_header(kvm_t *kd, Elf64_Ehdr *eh)
Elf64_Ehdr *hdr;
hdr = (Elf64_Ehdr *)&ef.buf;
const Elf64_Ehdr *hdr = (const Elf64_Ehdr *)params->image_header;
const Elf64_Ehdr *hdr = (const Elf64_Ehdr *)params->image_header;
offsetof(Elf64_Ehdr, e_type), offsetof(Elf64_Ehdr, e_machine),
offsetof(Elf64_Ehdr, e_version), offsetof(Elf64_Ehdr, e_entry),
offsetof(Elf64_Ehdr, e_phoff), offsetof(Elf64_Ehdr, e_shoff),
offsetof(Elf64_Ehdr, e_flags), offsetof(Elf64_Ehdr, e_ehsize),
offsetof(Elf64_Ehdr, e_phentsize), offsetof(Elf64_Ehdr, e_phnum),
offsetof(Elf64_Ehdr, e_shentsize), offsetof(Elf64_Ehdr, e_shnum),
offsetof(Elf64_Ehdr, e_shstrndx),