• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 pub type Elf32_Addr = ::c_ulong;
2 pub type Elf32_Half = ::c_ushort;
3 pub type Elf32_Off = ::c_ulong;
4 pub type Elf32_Sword = ::c_long;
5 pub type Elf32_Word = ::c_ulong;
6 pub type Elf32_Lword = ::c_ulonglong;
7 pub type Elf32_Phdr = __c_anonymous_Elf32_Phdr;
8 
9 s! {
10     pub struct __c_anonymous_Elf32_Phdr {
11         pub p_type: ::Elf32_Word,
12         pub p_offset: ::Elf32_Off,
13         pub p_vaddr: ::Elf32_Addr,
14         pub p_paddr: ::Elf32_Addr,
15         pub p_filesz: ::Elf32_Word,
16         pub p_memsz: ::Elf32_Word,
17         pub p_flags: ::Elf32_Word,
18         pub p_align: ::Elf32_Word,
19     }
20 
21     pub struct dl_phdr_info {
22         pub dlpi_addr: ::Elf32_Addr,
23         pub dlpi_name: *const ::c_char,
24         pub dlpi_phdr: *const ::Elf32_Phdr,
25         pub dlpi_phnum: ::Elf32_Half,
26         pub dlpi_adds: ::c_ulonglong,
27         pub dlpi_subs: ::c_ulonglong,
28     }
29 }
30