]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/elf.h
marcan's patch until he gets commit access. Remove C library's includes from the...
[proxmark3-svn] / client / elf.h
index 349e6c6c7af7eec442f98c7ec8553165059062d7..c489a1372d6fa86c1bdf68648fd1f0954dfb1381 100644 (file)
@@ -1,6 +1,17 @@
 #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 {
Impressum, Datenschutz