#ifndef __ELF_H__
#define __ELF_H__
+typedef struct {
+ uint32_t p_type;
+ uint32_t p_offset;
+ uint32_t p_vaddr;
+ uint32_t p_paddr;
+ uint32_t p_filesz;
+ uint32_t p_memsz;
+ uint32_t p_flags;
+ uint32_t p_align;
+} __attribute__((__packed__)) Elf32_Phdr;
+
#define EI_NIDENT 16
typedef struct {