1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
use crate::*; pub struct Ehdr64 { e_ident: u128, e_type: Elf64Half, e_machine: Elf64Half, e_version: Elf64Word, e_entry: Elf64Addr, e_phoff: Elf64Off, e_shoff: Elf64Off, e_flags: Elf64Word, e_ehsize: Elf64Half, e_phentsize: Elf64Half, e_phnum: Elf64Half, e_shentsize: Elf64Half, e_shnum: Elf64Half, e_shstrndx: Elf64Half, } pub enum ELF64CLASS { CLASSNone, CLASS32, CLASS64, CLASSNUM, }