]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/elf.h
Add License/Copyright headers/notices. Please add your own copyright notice if you...
[proxmark3-svn] / client / elf.h
index 349e6c6c7af7eec442f98c7ec8553165059062d7..906e0cf4e726b1d4c52369bb84ff26c440758ed1 100644 (file)
@@ -1,6 +1,25 @@
+//-----------------------------------------------------------------------------
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// ELF header
+//-----------------------------------------------------------------------------
+
 #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