| Zeile 69: | Zeile 69: | ||
In C: | In C: | ||
<c> | <c> | ||
| − | + | typedef uint32_t Elf32_Addr; | |
| − | + | typedef uint16_t ELF32_Half; | |
| − | + | typedef uin32_t ELF32_Off; | |
| − | + | typedef int32_t ELF32_Sword; | |
| − | + | typedef uint32_t ELF32_Word; | |
| − | unsigned | + | typedef unsigned char ELF_Uchar; |
</c> | </c> | ||
| Zeile 113: | Zeile 113: | ||
struct ELF_IDENT_HEADER | struct ELF_IDENT_HEADER | ||
{ | { | ||
| − | + | uint32_t EI_MAGIC | |
| − | + | uint8_t EI_CLASS | |
| − | + | uint8_t EI_DATA | |
| − | + | uint8_t EI_VERSION | |
| − | + | uint32_t EI_PAD | |
| − | + | uint32_t EI_PAD2 | |
| − | + | uint8_t EI_NIDENT | |
} | } | ||
</c> | </c> | ||