Version 2.0.0-0

types Reference

File
lib/elf/include/elf/types.h
Date
Wednesday, June 25, 2014
Includes
  • <stdint.h>
  • <stdbool.h>

Types

ELF64_Addr Top

typedef uint64_t ELF64_Addr;

ELF64_DataEncoding Top

typedef enum { ELF64_DataEncodingUnknown = 0, ELF64_DataEncodingLSB = 1, ELF64_DataEncodingMSB = 2 } ELF64_DataEncoding;

ELF64_FileRef Top

typedef struct __ELF64_File * ELF64_FileRef;

ELF64_Half Top

typedef uint16_t ELF64_Half;

ELF64_HeaderRef Top

typedef struct __ELF64_Header * ELF64_HeaderRef;

ELF64_MachineType Top

typedef enum { ELF64_MachineTypeUnknown = 0, ELF64_MachineTypeM32 = 1, ELF64_MachineTypeSPARC = 2, ELF64_MachineType386 = 3, ELF64_MachineType68K = 4, ELF64_MachineType88K = 5, ELF64_MachineType860 = 7, ELF64_MachineTypeMIPS = 8, ELF64_MachineTypeS370 = 9, ELF64_MachineTypeMIPSRS3LE = 10, ELF64_MachineTypePARISC = 15, ELF64_MachineTypeVPP500 = 17, ELF64_MachineTypeSPARC32Plus = 18, ELF64_MachineType960 = 19, ELF64_MachineTypePPC = 20, ELF64_MachineTypePPC64 = 21, ELF64_MachineTypeV800 = 36, ELF64_MachineTypeFR20 = 37, ELF64_MachineTypeRH32 = 38, ELF64_MachineTypeRCE = 39, ELF64_MachineTypeARM = 40, ELF64_MachineTypeAlpha = 41, ELF64_MachineTypeSH = 42, ELF64_MachineTypeSPARCV9 = 43, ELF64_MachineTypeTricore = 44, ELF64_MachineTypeARC = 45, ELF64_MachineTypeH8300 = 46, ELF64_MachineTypeH8300H = 47, ELF64_MachineTypeH8S = 48, ELF64_MachineTypeH8500 = 49, ELF64_MachineTypeIA64 = 50, ELF64_MachineTypeMIPSX = 51, ELF64_MachineTypeColdFire = 52, ELF64_MachineType68HC12 = 53, ELF64_MachineTypeMMA = 54, ELF64_MachineTypePCP = 55, ELF64_MachineTypeNCPU = 56, ELF64_MachineTypeNDR1 = 57, ELF64_MachineTypeStarCore = 58, ELF64_MachineTypeME16 = 59, ELF64_MachineTypeST100 = 60, ELF64_MachineTypeTinyJ = 61, ELF64_MachineTypeFX66 = 66, ELF64_MachineTypeST9Plus = 67, ELF64_MachineTypeST7 = 68, ELF64_MachineType68HC16 = 69, ELF64_MachineType68HC11 = 70, ELF64_MachineType68HC08 = 71, ELF64_MachineType68HC05 = 72, ELF64_MachineTypeSVX = 73, ELF64_MachineTypeST19 = 74, ELF64_MachineTypeVAX = 75, ELF64_MachineTypeCRIS = 76, ELF64_MachineTypeJavelin = 77, ELF64_MachineTypeFirePath = 78, ELF64_MachineTypeZSP = 79, ELF64_MachineTypeMMIX = 80, ELF64_MachineTypeHUANY = 81, ELF64_MachineTypePrism = 82 } ELF64_MachineType;

ELF64_ObjectFileClass Top

typedef enum { ELF64_ObjectFileClassUnknown = 0, ELF64_ObjectFileClass32 = 1, ELF64_ObjectFileClass64 = 2 } ELF64_ObjectFileClass;

ELF64_ObjectFileType Top

typedef enum { ELF64_ObjectFileTypeNone = 0, ELF64_ObjectFileTypeRelocatableObjectFile = 1, ELF64_ObjectFileTypeExecutableFile = 2, ELF64_ObjectFileTypeSharedObjectFile = 3, ELF64_ObjectFileTypeCoreFile = 4 } ELF64_ObjectFileType;

ELF64_Off Top

typedef uint64_t ELF64_Off;

ELF64_OSABI Top

typedef enum { ELF64_OSABIUnknown = 0, ELF64_OSABISysV = 1, ELF64_OSABIHPUX = 2, ELF64_OSABIStandalone = 255 } ELF64_OSABI;

ELF64_ProgramHeaderEntryRef Top

typedef struct __ELF64_ProgramHeaderEntry * ELF64_ProgramHeaderEntryRef;

ELF64_SectionAttribute Top

typedef enum { ELF64_SectionAttributeWrite = 1, ELF64_SectionAttributeAlloc = 2, ELF64_SectionAttributeExecute = 4 } ELF64_SectionAttribute;

ELF64_SectionHeaderEntryRef Top

typedef struct __ELF64_SectionHeaderEntry * ELF64_SectionHeaderEntryRef;

ELF64_SectionType Top

typedef enum { ELF64_SectionTypeUnused = 0, ELF64_SectionTypeProgBits = 1, ELF64_SectionTypeLinkerSymbolTable = 2, ELF64_SectionTypeStringTable = 3, ELF64_SectionTypeRelaRelocationEntries = 4, ELF64_SectionTypeSymbolHashTable = 5, ELF64_SectionTypeDynamicLinkingTables = 6, ELF64_SectionTypeNoteInformation = 7, ELF64_SectionTypeUninitializedSpace = 8, ELF64_SectionTypeRelRelocationEntries = 9, ELF64_SectionTypeDynamicLoaderSymbolTable = 11 } ELF64_SectionType;

ELF64_SegmentAttribute Top

typedef enum { ELF64_SegmentAttributeExecute = 1, ELF64_SegmentAttributeWrite = 2, ELF64_SegmentAttributeRead = 4 } ELF64_SegmentAttribute;

ELF64_SegmentType Top

typedef enum { ELF64_SegmentTypeUnused = 0, ELF64_SegmentTypeLoadable = 1, ELF64_SegmentTypeDynamicLinkingTables = 2, ELF64_SegmentTypeProgramInterpreterPathName = 3, ELF64_SegmentTypeNoteSections = 4, ELF64_SegmentTypeProgramHeaderTable = 6 } ELF64_SegmentType;

ELF64_SWord Top

typedef int32_t ELF64_SWord;

ELF64_SXWord Top

typedef int64_t ELF64_SXWord;

ELF64_SymbolBinding Top

typedef enum { ELF64_SymbolBindingLocal = 0, ELF64_SymbolBindingGlobal = 1, ELF64_SymbolBindingWeak = 2 } ELF64_SymbolBinding;

ELF64_SymbolTableEntryRef Top

typedef struct __ELF64_SymbolTableEntry * ELF64_SymbolTableEntryRef;

ELF64_SymbolType Top

typedef enum { ELF64_SymbolTypeNone = 0, ELF64_SymbolTypeDataObject = 1, ELF64_SymbolTypeFunctionEntryPoint = 2, ELF64_SymbolTypeSection = 3, ELF64_SymbolTypeFile = 4 } ELF64_SymbolType;

ELF64_UChar Top

typedef uint8_t ELF64_UChar;

ELF64_Word Top

typedef uint32_t ELF64_Word;

ELF64_XWord Top

typedef uint64_t ELF64_XWord;

Macros

__XEOS_LIB_ELF_TYPES_H__ Top

#define __XEOS_LIB_ELF_TYPES_H__