1 pub type c_ulong = u64; 2 pub type c_long = i64; 3 pub type time_t = i64; 4 5 pub type Elf_Addr = ::Elf64_Addr; 6 pub type Elf_Half = ::Elf64_Half; 7 pub type Elf_Phdr = ::Elf64_Phdr; 8 9 s! { 10 pub struct Elf64_Phdr { 11 pub p_type: ::Elf64_Word, 12 pub p_flags: ::Elf64_Word, 13 pub p_offset: ::Elf64_Off, 14 pub p_vaddr: ::Elf64_Addr, 15 pub p_paddr: ::Elf64_Addr, 16 pub p_filesz: ::Elf64_Xword, 17 pub p_memsz: ::Elf64_Xword, 18 pub p_align: ::Elf64_Xword, 19 } 20 } 21