X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2cab856f9f8cf6798447f4e66559975692225706..9cc7c4b4d13702122da3b7306391f411c030dc27:/client/elf.h diff --git a/client/elf.h b/client/elf.h index 349e6c6c..906e0cf4 100644 --- a/client/elf.h +++ b/client/elf.h @@ -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 {