document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. typedef struct
  2. {
  3.   unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */
  4.   Elf32_Half  e_type;     /* Object file type */
  5.   Elf32_Half  e_machine;  /* Architecture */
  6.   Elf32_Word  e_version;  /* Object file version */
  7.   Elf32_Addr  e_entry;    /* Entry point virtual address */
  8.   Elf32_Off e_phoff;      /* Program header table file offset */
  9.   Elf32_Off e_shoff;      /* Section header table file offset */
  10.   Elf32_Word  e_flags;    /* Processor-specific flags */
  11.   Elf32_Half  e_ehsize;   /* ELF header size in bytes */
  12.   Elf32_Half  e_phentsize;/* Program header table entry size */
  13.   Elf32_Half  e_phnum;    /* Program header table entry count */
  14.   Elf32_Half  e_shentsize;/* Section header table entry size */
  15.   Elf32_Half  e_shnum;    /* Section header table entry count */
  16.   Elf32_Half  e_shstrndx; /* Section header string table index */
  17. } Elf32_Ehdr;
  18.  
  19. typedef struct
  20. {
  21.   unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */
  22.   Elf64_Half  e_type;     /* Object file type */
  23.   Elf64_Half  e_machine;  /* Architecture */
  24.   Elf64_Word  e_version;  /* Object file version */
  25.   Elf64_Addr  e_entry;    /* Entry point virtual address */
  26.   Elf64_Off e_phoff;      /* Program header table file offset */
  27.   Elf64_Off e_shoff;      /* Section header table file offset */
  28.   Elf64_Word  e_flags;    /* Processor-specific flags */
  29.   Elf64_Half  e_ehsize;   /* ELF header size in bytes */
  30.   Elf64_Half  e_phentsize;/* Program header table entry size */
  31.   Elf64_Half  e_phnum;    /* Program header table entry count */
  32.   Elf64_Half  e_shentsize;/* Section header table entry size */
  33.   Elf64_Half  e_shnum;    /* Section header table entry count */
  34.   Elf64_Half  e_shstrndx; /* Section header string table index */
  35. } Elf64_Ehdr;
');