ApertureOS
Data Structures | Macros | Typedefs | Enumerations
elf.h File Reference
#include "types.h"
Include dependency graph for elf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Elf32_Ehdr
 
struct  Elf32_Phdr
 
struct  Elf32_Shdr
 
struct  Elf32_Sym
 

Macros

#define ELF_NIDENT   16
 
#define ELFMAG0   0x7F
 
#define ELFMAG1   'E'
 
#define ELFMAG2   'L'
 
#define ELFMAG3   'F'
 
#define ELFDATA2LSB   (1)
 
#define ELFCLASS32   (1)
 
#define EM_x86   (0x3)
 
#define EV_CURRENT   (1)
 

Typedefs

typedef uint16_t Elf32_Half
 
typedef uint32_t Elf32_Off
 
typedef uint32_t Elf32_Addr
 
typedef uint32_t Elf32_Word
 
typedef int32_t Elf32_Sword
 

Enumerations

enum  Elf_Ident {
  EI_MAG0 = 0, EI_MAG1 = 1, EI_MAG2 = 2, EI_MAG3 = 3,
  EI_CLASS = 4, EI_DATA = 5, EI_VERSION = 6, EI_OSABI = 7,
  EI_ABIVERSION = 8, EI_PAD = 9
}
 
enum  Elf_Type { ET_NONE = 0, ET_REL = 1, ET_EXEC = 2 }
 
enum  Ph_Type { PH_LOAD = 1, PH_SCE_RELOCATE = 0x60000000 }
 
enum  Pf_Type { PF_X = 1, PF_W = 2, PF_R = 4 }
 

Macro Definition Documentation

#define ELF_NIDENT   16
#define ELFCLASS32   (1)
#define ELFDATA2LSB   (1)
#define ELFMAG0   0x7F
#define ELFMAG1   'E'
#define ELFMAG2   'L'
#define ELFMAG3   'F'
#define EM_x86   (0x3)
#define EV_CURRENT   (1)

Typedef Documentation

typedef uint32_t Elf32_Addr
typedef uint16_t Elf32_Half
typedef uint32_t Elf32_Off
typedef int32_t Elf32_Sword
typedef uint32_t Elf32_Word

Enumeration Type Documentation

enum Elf_Ident
Enumerator
EI_MAG0 
EI_MAG1 
EI_MAG2 
EI_MAG3 
EI_CLASS 
EI_DATA 
EI_VERSION 
EI_OSABI 
EI_ABIVERSION 
EI_PAD 
enum Elf_Type
Enumerator
ET_NONE 
ET_REL 
ET_EXEC 
enum Pf_Type
Enumerator
PF_X 
PF_W 
PF_R 
enum Ph_Type
Enumerator
PH_LOAD 
PH_SCE_RELOCATE