elf.h File Reference

#include <sysinterf/types.h>
#include <machdep/elf_machdep.h>

Go to the source code of this file.

Data Structures

struct  Elf32_Ehdr
struct  Elf64_Ehdr
struct  Elf32_Phdr
struct  Elf64_Phdr
struct  Elf32_Shdr
struct  Elf64_Shdr
struct  Elf32_Sym
struct  Elf64_Sym
struct  Elf32_Rel
struct  Elf32_Rela
struct  Elf64_Rel
struct  Elf64_Rela
struct  Elf32_Dyn
struct  Elf64_Dyn
struct  Aux32Info
struct  Aux64Info
struct  Elf32_Nhdr
struct  Elf64_Nhdr
struct  netbsd_elfcore_procinfo

Defines

#define ELF32_FSZ_ADDR   4
#define ELF32_FSZ_OFF   4
#define ELF32_FSZ_SWORD   4
#define ELF32_FSZ_WORD   4
#define ELF32_FSZ_HALF   2
#define ELF64_FSZ_ADDR   8
#define ELF64_FSZ_OFF   8
#define ELF64_FSZ_SHALF   4
#define ELF64_FSZ_SWORD   4
#define ELF64_FSZ_WORD   4
#define ELF64_FSZ_XWORD   8
#define ELF64_FSZ_XWORD   8
#define ELF64_FSZ_HALF   4
#define ELF64_FSZ_QUARTER   2
#define ELF_NIDENT   16
#define EI_MAG0   0
#define EI_MAG1   1
#define EI_MAG2   2
#define EI_MAG3   3
#define EI_CLASS   4
#define EI_DATA   5
#define EI_VERSION   6
#define EI_OSABI   7
#define EI_ABIVERSION   8
#define EI_PAD   9
#define ELFMAG0   0x7f
#define ELFMAG1   'E'
#define ELFMAG2   'L'
#define ELFMAG3   'F'
#define ELFMAG   "\177ELF"
#define SELFMAG   4
#define ELFCLASSNONE   0
#define ELFCLASS32   1
#define ELFCLASS64   2
#define ELFCLASSNUM   3
#define ELFDATANONE   0
#define ELFDATA2LSB   1
#define ELFDATA2MSB   2
#define EV_NONE   0
#define EV_CURRENT   1
#define EV_NUM   2
#define ELFOSABI_SYSV   0
#define ELFOSABI_HPUX   1
#define ELFOSABI_NETBSD   2
#define ELFOSABI_LINUX   3
#define ELFOSABI_HURD   4
#define ELFOSABI_86OPEN   5
#define ELFOSABI_SOLARIS   6
#define ELFOSABI_MONTEREY   7
#define ELFOSABI_IRIX   8
#define ELFOSABI_FREEBSD   9
#define ELFOSABI_TRU64   10
#define ELFOSABI_MODESTO   11
#define ELFOSABI_OPENBSD   12
#define ELFOSABI_ARM   97
#define ELFOSABI_STANDALONE   255
#define ET_NONE   0
#define ET_REL   1
#define ET_EXEC   2
#define ET_DYN   3
#define ET_CORE   4
#define ET_NUM   5
#define ET_LOOS   0xfe00
#define ET_HIOS   0xfeff
#define ET_LOPROC   0xff00
#define ET_HIPROC   0xffff
#define EM_NONE   0
#define EM_M32   1
#define EM_SPARC   2
#define EM_386   3
#define EM_68K   4
#define EM_88K   5
#define EM_486   6
#define EM_860   7
#define EM_MIPS   8
#define EM_S370   9
#define EM_MIPS_RS3_LE   10
#define EM_RS6000   11
#define EM_PARISC   15
#define EM_NCUBE   16
#define EM_VPP500   17
#define EM_SPARC32PLUS   18
#define EM_960   19
#define EM_PPC   20
#define EM_PPC64   21
#define EM_V800   36
#define EM_FR20   37
#define EM_RH32   38
#define EM_RCE   39
#define EM_ARM   40
#define EM_ALPHA   41
#define EM_SH   42
#define EM_SPARCV9   43
#define EM_TRICORE   44
#define EM_ARC   45
#define EM_H8_300   46
#define EM_H8_300H   47
#define EM_H8S   48
#define EM_H8_500   49
#define EM_IA_64   50
#define EM_MIPS_X   51
#define EM_COLDFIRE   52
#define EM_68HC12   53
#define EM_MMA   54
#define EM_PCP   55
#define EM_NCPU   56
#define EM_NDR1   57
#define EM_STARCORE   58
#define EM_ME16   59
#define EM_ST100   60
#define EM_TINYJ   61
#define EM_X86_64   62
#define EM_PDSP   63
#define EM_FX66   66
#define EM_ST9PLUS   67
#define EM_ST7   68
#define EM_68HC16   69
#define EM_68HC11   70
#define EM_68HC08   71
#define EM_68HC05   72
#define EM_SVX   73
#define EM_ST19   74
#define EM_VAX   75
#define EM_CRIS   76
#define EM_JAVELIN   77
#define EM_FIREPATH   78
#define EM_ZSP   79
#define EM_MMIX   80
#define EM_HUANY   81
#define EM_PRISM   82
#define EM_AVR   83
#define EM_FR30   84
#define EM_D10V   85
#define EM_D30V   86
#define EM_V850   87
#define EM_M32R   88
#define EM_MN10300   89
#define EM_MN10200   90
#define EM_PJ   91
#define EM_OPENRISC   92
#define EM_ARC_A5   93
#define EM_XTENSA   94
#define EM_NS32K   97
#define EM_ALPHA_EXP   36902
#define EM_NUM   36903
#define PT_NULL   0
#define PT_LOAD   1
#define PT_DYNAMIC   2
#define PT_INTERP   3
#define PT_NOTE   4
#define PT_SHLIB   5
#define PT_PHDR   6
#define PT_NUM   7
#define PF_R   0x4
#define PF_W   0x2
#define PF_X   0x1
#define PF_MASKOS   0x0ff00000
#define PF_MASKPROC   0xf0000000
#define PT_LOPROC   0x70000000
#define PT_HIPROC   0x7fffffff
#define PT_MIPS_REGINFO   0x70000000
#define SHT_NULL   0
#define SHT_PROGBITS   1
#define SHT_SYMTAB   2
#define SHT_STRTAB   3
#define SHT_RELA   4
#define SHT_HASH   5
#define SHT_DYNAMIC   6
#define SHT_NOTE   7
#define SHT_NOBITS   8
#define SHT_REL   9
#define SHT_SHLIB   10
#define SHT_DYNSYM   11
#define SHT_NUM   12
#define SHT_LOOS   0x60000000
#define SHT_HIOS   0x6fffffff
#define SHT_LOPROC   0x70000000
#define SHT_HIPROC   0x7fffffff
#define SHT_LOUSER   0x80000000
#define SHT_HIUSER   0xffffffff
#define SHF_WRITE   0x1
#define SHF_ALLOC   0x2
#define SHF_EXECINSTR   0x4
#define SHF_MASKOS   0x0f000000
#define SHF_MASKPROC   0xf0000000
#define ELF_SYM_UNDEFINED   0
#define STB_LOCAL   0
#define STB_GLOBAL   1
#define STB_WEAK   2
#define STB_NUM   3
#define STB_LOOS   10
#define STB_HIOS   12
#define STB_LOPROC   13
#define STB_HIPROC   15
#define STT_NOTYPE   0
#define STT_OBJECT   1
#define STT_FUNC   2
#define STT_SECTION   3
#define STT_FILE   4
#define STT_NUM   5
#define STT_LOOS   10
#define STT_HIOS   12
#define STT_LOPROC   13
#define STT_HIPROC   15
#define ELF32_ST_BIND(info)   ((Elf32_Word)(info) >> 4)
#define ELF32_ST_TYPE(info)   ((Elf32_Word)(info) & 0xf)
#define ELF32_ST_INFO(bind, type)   ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
#define ELF64_ST_BIND(info)   ((Elf64_Xword)(info) >> 4)
#define ELF64_ST_TYPE(info)   ((Elf64_Xword)(info) & 0xf)
#define ELF64_ST_INFO(bind, type)   ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
#define SHN_UNDEF   0
#define SHN_LORESERVE   0xff00
#define SHN_ABS   0xfff1
#define SHN_COMMON   0xfff2
#define SHN_HIRESERVE   0xffff
#define SHN_LOPROC   0xff00
#define SHN_HIPROC   0xff1f
#define SHN_LOOS   0xff20
#define SHN_HIOS   0xff3f
#define SHN_MIPS_ACOMMON   0xff00
#define SHN_MIPS_TEXT   0xff01
#define SHN_MIPS_DATA   0xff02
#define SHN_MIPS_SCOMMON   0xff03
#define ELF32_R_SYM(info)   ((info) >> 8)
#define ELF32_R_TYPE(info)   ((info) & 0xff)
#define ELF32_R_INFO(sym, type)   (((sym) << 8) + (unsigned char)(type))
#define ELF64_R_SYM(info)   ((info) >> 32)
#define ELF64_R_TYPE(info)   ((info) & 0xffffffff)
#define ELF64_R_INFO(sym, type)   (((sym) << 32) + (type))
#define DT_NULL   0
#define DT_NEEDED   1
#define DT_PLTRELSZ   2
#define DT_PLTGOT   3
#define DT_HASH   4
#define DT_STRTAB   5
#define DT_SYMTAB   6
#define DT_RELA   7
#define DT_RELASZ   8
#define DT_RELAENT   9
#define DT_STRSZ   10
#define DT_SYMENT   11
#define DT_INIT   12
#define DT_FINI   13
#define DT_SONAME   14
#define DT_RPATH   15
#define DT_SYMBOLIC   16
#define DT_REL   17
#define DT_RELSZ   18
#define DT_RELENT   19
#define DT_PLTREL   20
#define DT_DEBUG   21
#define DT_TEXTREL   22
#define DT_JMPREL   23
#define DT_BIND_NOW   24
#define DT_INIT_ARRAY   25
#define DT_FINI_ARRAY   26
#define DT_INIT_ARRAYSZ   27
#define DT_FINI_ARRAYSZ   28
#define DT_NUM   29
#define DT_LOOS   0x60000000
#define DT_HIOS   0x6fffffff
#define DT_LOPROC   0x70000000
#define DT_HIPROC   0x7fffffff
#define AT_NULL   0
#define AT_IGNORE   1
#define AT_EXECFD   2
#define AT_PHDR   3
#define AT_PHENT   4
#define AT_PHNUM   5
#define AT_PAGESZ   6
#define AT_BASE   7
#define AT_FLAGS   8
#define AT_ENTRY   9
#define AT_DCACHEBSIZE   10
#define AT_ICACHEBSIZE   11
#define AT_UCACHEBSIZE   12
#define AT_MIPS_NOTELF   10
#define AT_SUN_UID   2000
#define AT_SUN_RUID   2001
#define AT_SUN_GID   2002
#define AT_SUN_RGID   2003
#define AT_SUN_LDELF   2004
#define AT_SUN_LDSHDR   2005
#define AT_SUN_LDNAME   2006
#define AT_SUN_LPGSIZE   2007
#define AT_SUN_PLATFORM   2008
#define AT_SUN_HWCAP   2009
#define AT_SUN_IFLUSH   2010
#define AT_SUN_CPU   2011
#define AT_SUN_EMUL_ENTRY   2012
#define AT_SUN_EMUL_EXECFD   2013
#define AT_SUN_EXECNAME   2014
#define ELF_NOTE_TYPE_ABI_TAG   1
#define ELF_NOTE_ABI_NAMESZ   4
#define ELF_NOTE_ABI_DESCSZ   16
#define ELF_NOTE_ABI_NAME   "GNU\0"
#define ELF_NOTE_ABI_OS_LINUX   0
#define ELF_NOTE_ABI_OS_HURD   1
#define ELF_NOTE_ABI_OS_SOLARIS   2
#define ELF_NOTE_TYPE_NETBSD_TAG   1
#define ELF_NOTE_NETBSD_NAMESZ   7
#define ELF_NOTE_NETBSD_DESCSZ   4
#define ELF_NOTE_NETBSD_NAME   "NetBSD\0\0"
#define ELF_NOTE_NETBSD_CORE_NAME   "NetBSD-CORE"
#define ELF_NOTE_NETBSD_CORE_PROCINFO   1
#define NETBSD_ELFCORE_PROCINFO_VERSION   1

Typedefs

typedef u_int8_t Elf_Byte
typedef u_int32_t Elf32_Addr
typedef u_int32_t Elf32_Off
typedef int32_t Elf32_Sword
typedef u_int32_t Elf32_Word
typedef u_int16_t Elf32_Half
typedef u_int64_t Elf64_Addr
typedef u_int64_t Elf64_Off
typedef int32_t Elf64_Shalf
typedef int32_t Elf64_Sword
typedef u_int32_t Elf64_Word
typedef int64_t Elf64_Sxword
typedef u_int64_t Elf64_Xword
typedef u_int32_t Elf64_Half
typedef u_int16_t Elf64_Quarter


Define Documentation

#define AT_BASE   7
 

#define AT_DCACHEBSIZE   10
 

#define AT_ENTRY   9
 

#define AT_EXECFD   2
 

#define AT_FLAGS   8
 

#define AT_ICACHEBSIZE   11
 

#define AT_IGNORE   1
 

#define AT_MIPS_NOTELF   10
 

#define AT_NULL   0
 

#define AT_PAGESZ   6
 

#define AT_PHDR   3
 

#define AT_PHENT   4
 

#define AT_PHNUM   5
 

#define AT_SUN_CPU   2011
 

#define AT_SUN_EMUL_ENTRY   2012
 

#define AT_SUN_EMUL_EXECFD   2013
 

#define AT_SUN_EXECNAME   2014
 

#define AT_SUN_GID   2002
 

#define AT_SUN_HWCAP   2009
 

#define AT_SUN_IFLUSH   2010
 

#define AT_SUN_LDELF   2004
 

#define AT_SUN_LDNAME   2006
 

#define AT_SUN_LDSHDR   2005
 

#define AT_SUN_LPGSIZE   2007
 

#define AT_SUN_PLATFORM   2008
 

#define AT_SUN_RGID   2003
 

#define AT_SUN_RUID   2001
 

#define AT_SUN_UID   2000
 

#define AT_UCACHEBSIZE   12
 

#define DT_BIND_NOW   24
 

#define DT_DEBUG   21
 

#define DT_FINI   13
 

#define DT_FINI_ARRAY   26
 

#define DT_FINI_ARRAYSZ   28
 

#define DT_HASH   4
 

#define DT_HIOS   0x6fffffff
 

#define DT_HIPROC   0x7fffffff
 

#define DT_INIT   12
 

#define DT_INIT_ARRAY   25
 

#define DT_INIT_ARRAYSZ   27
 

#define DT_JMPREL   23
 

#define DT_LOOS   0x60000000
 

#define DT_LOPROC   0x70000000
 

#define DT_NEEDED   1
 

#define DT_NULL   0
 

#define DT_NUM   29
 

#define DT_PLTGOT   3
 

#define DT_PLTREL   20
 

#define DT_PLTRELSZ   2
 

#define DT_REL   17
 

#define DT_RELA   7
 

#define DT_RELAENT   9
 

#define DT_RELASZ   8
 

#define DT_RELENT   19
 

#define DT_RELSZ   18
 

#define DT_RPATH   15
 

#define DT_SONAME   14
 

#define DT_STRSZ   10
 

#define DT_STRTAB   5
 

#define DT_SYMBOLIC   16
 

#define DT_SYMENT   11
 

#define DT_SYMTAB   6
 

#define DT_TEXTREL   22
 

#define EI_ABIVERSION   8
 

#define EI_CLASS   4
 

#define EI_DATA   5
 

#define EI_MAG0   0
 

#define EI_MAG1   1
 

#define EI_MAG2   2
 

#define EI_MAG3   3
 

#define EI_OSABI   7
 

#define EI_PAD   9
 

#define EI_VERSION   6
 

#define ELF32_FSZ_ADDR   4
 

#define ELF32_FSZ_HALF   2
 

#define ELF32_FSZ_OFF   4
 

#define ELF32_FSZ_SWORD   4
 

#define ELF32_FSZ_WORD   4
 

#define ELF32_R_INFO sym,
type   )     (((sym) << 8) + (unsigned char)(type))
 

#define ELF32_R_SYM info   )     ((info) >> 8)
 

#define ELF32_R_TYPE info   )     ((info) & 0xff)
 

#define ELF32_ST_BIND info   )     ((Elf32_Word)(info) >> 4)
 

#define ELF32_ST_INFO bind,
type   )     ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
 

#define ELF32_ST_TYPE info   )     ((Elf32_Word)(info) & 0xf)
 

#define ELF64_FSZ_ADDR   8
 

#define ELF64_FSZ_HALF   4
 

#define ELF64_FSZ_OFF   8
 

#define ELF64_FSZ_QUARTER   2
 

#define ELF64_FSZ_SHALF   4
 

#define ELF64_FSZ_SWORD   4
 

#define ELF64_FSZ_WORD   4
 

#define ELF64_FSZ_XWORD   8
 

#define ELF64_FSZ_XWORD   8
 

#define ELF64_R_INFO sym,
type   )     (((sym) << 32) + (type))
 

#define ELF64_R_SYM info   )     ((info) >> 32)
 

#define ELF64_R_TYPE info   )     ((info) & 0xffffffff)
 

#define ELF64_ST_BIND info   )     ((Elf64_Xword)(info) >> 4)
 

#define ELF64_ST_INFO bind,
type   )     ((Elf_Byte)(((bind) << 4) | ((type) & 0xf)))
 

#define ELF64_ST_TYPE info   )     ((Elf64_Xword)(info) & 0xf)
 

#define ELF_NIDENT   16
 

#define ELF_NOTE_ABI_DESCSZ   16
 

#define ELF_NOTE_ABI_NAME   "GNU\0"
 

#define ELF_NOTE_ABI_NAMESZ   4
 

#define ELF_NOTE_ABI_OS_HURD   1
 

#define ELF_NOTE_ABI_OS_LINUX   0
 

#define ELF_NOTE_ABI_OS_SOLARIS   2
 

#define ELF_NOTE_NETBSD_CORE_NAME   "NetBSD-CORE"
 

#define ELF_NOTE_NETBSD_CORE_PROCINFO   1
 

#define ELF_NOTE_NETBSD_DESCSZ   4
 

#define ELF_NOTE_NETBSD_NAME   "NetBSD\0\0"
 

#define ELF_NOTE_NETBSD_NAMESZ   7
 

#define ELF_NOTE_TYPE_ABI_TAG   1
 

#define ELF_NOTE_TYPE_NETBSD_TAG   1
 

#define ELF_SYM_UNDEFINED   0
 

#define ELFCLASS32   1
 

#define ELFCLASS64   2
 

#define ELFCLASSNONE   0
 

#define ELFCLASSNUM   3
 

#define ELFDATA2LSB   1
 

#define ELFDATA2MSB   2
 

#define ELFDATANONE   0
 

#define ELFMAG   "\177ELF"
 

#define ELFMAG0   0x7f
 

#define ELFMAG1   'E'
 

#define ELFMAG2   'L'
 

#define ELFMAG3   'F'
 

#define ELFOSABI_86OPEN   5
 

#define ELFOSABI_ARM   97
 

#define ELFOSABI_FREEBSD   9
 

#define ELFOSABI_HPUX   1
 

#define ELFOSABI_HURD   4
 

#define ELFOSABI_IRIX   8
 

#define ELFOSABI_LINUX   3
 

#define ELFOSABI_MODESTO   11
 

#define ELFOSABI_MONTEREY   7
 

#define ELFOSABI_NETBSD   2
 

#define ELFOSABI_OPENBSD   12
 

#define ELFOSABI_SOLARIS   6
 

#define ELFOSABI_STANDALONE   255
 

#define ELFOSABI_SYSV   0
 

#define ELFOSABI_TRU64   10
 

#define EM_386   3
 

#define EM_486   6
 

#define EM_68HC05   72
 

#define EM_68HC08   71
 

#define EM_68HC11   70
 

#define EM_68HC12   53
 

#define EM_68HC16   69
 

#define EM_68K   4
 

#define EM_860   7
 

#define EM_88K   5
 

#define EM_960   19
 

#define EM_ALPHA   41
 

#define EM_ALPHA_EXP   36902
 

#define EM_ARC   45
 

#define EM_ARC_A5   93
 

#define EM_ARM   40
 

#define EM_AVR   83
 

#define EM_COLDFIRE   52
 

#define EM_CRIS   76
 

#define EM_D10V   85
 

#define EM_D30V   86
 

#define EM_FIREPATH   78
 

#define EM_FR20   37
 

#define EM_FR30   84
 

#define EM_FX66   66
 

#define EM_H8_300   46
 

#define EM_H8_300H   47
 

#define EM_H8_500   49
 

#define EM_H8S   48
 

#define EM_HUANY   81
 

#define EM_IA_64   50
 

#define EM_JAVELIN   77
 

#define EM_M32   1
 

#define EM_M32R   88
 

#define EM_ME16   59
 

#define EM_MIPS   8
 

#define EM_MIPS_RS3_LE   10
 

#define EM_MIPS_X   51
 

#define EM_MMA   54
 

#define EM_MMIX   80
 

#define EM_MN10200   90
 

#define EM_MN10300   89
 

#define EM_NCPU   56
 

#define EM_NCUBE   16
 

#define EM_NDR1   57
 

#define EM_NONE   0
 

#define EM_NS32K   97
 

#define EM_NUM   36903
 

#define EM_OPENRISC   92
 

#define EM_PARISC   15
 

#define EM_PCP   55
 

#define EM_PDSP   63
 

#define EM_PJ   91
 

#define EM_PPC   20
 

#define EM_PPC64   21
 

#define EM_PRISM   82
 

#define EM_RCE   39
 

#define EM_RH32   38
 

#define EM_RS6000   11
 

#define EM_S370   9
 

#define EM_SH   42
 

#define EM_SPARC   2
 

#define EM_SPARC32PLUS   18
 

#define EM_SPARCV9   43
 

#define EM_ST100   60
 

#define EM_ST19   74
 

#define EM_ST7   68
 

#define EM_ST9PLUS   67
 

#define EM_STARCORE   58
 

#define EM_SVX   73
 

#define EM_TINYJ   61
 

#define EM_TRICORE   44
 

#define EM_V800   36
 

#define EM_V850   87
 

#define EM_VAX   75
 

#define EM_VPP500   17
 

#define EM_X86_64   62
 

#define EM_XTENSA   94
 

#define EM_ZSP   79
 

#define ET_CORE   4
 

#define ET_DYN   3
 

#define ET_EXEC   2
 

#define ET_HIOS   0xfeff
 

#define ET_HIPROC   0xffff
 

#define ET_LOOS   0xfe00
 

#define ET_LOPROC   0xff00
 

#define ET_NONE   0
 

#define ET_NUM   5
 

#define ET_REL   1
 

#define EV_CURRENT   1
 

#define EV_NONE   0
 

#define EV_NUM   2
 

#define NETBSD_ELFCORE_PROCINFO_VERSION   1
 

#define PF_MASKOS   0x0ff00000
 

#define PF_MASKPROC   0xf0000000
 

#define PF_R   0x4
 

#define PF_W   0x2
 

#define PF_X   0x1
 

#define PT_DYNAMIC   2
 

#define PT_HIPROC   0x7fffffff
 

#define PT_INTERP   3
 

#define PT_LOAD   1
 

#define PT_LOPROC   0x70000000
 

#define PT_MIPS_REGINFO   0x70000000
 

#define PT_NOTE   4
 

#define PT_NULL   0
 

#define PT_NUM   7
 

#define PT_PHDR   6
 

#define PT_SHLIB   5
 

#define SELFMAG   4
 

#define SHF_ALLOC   0x2
 

#define SHF_EXECINSTR   0x4
 

#define SHF_MASKOS   0x0f000000
 

#define SHF_MASKPROC   0xf0000000
 

#define SHF_WRITE   0x1
 

#define SHN_ABS   0xfff1
 

#define SHN_COMMON   0xfff2
 

#define SHN_HIOS   0xff3f
 

#define SHN_HIPROC   0xff1f
 

#define SHN_HIRESERVE   0xffff
 

#define SHN_LOOS   0xff20
 

#define SHN_LOPROC   0xff00
 

#define SHN_LORESERVE   0xff00
 

#define SHN_MIPS_ACOMMON   0xff00
 

#define SHN_MIPS_DATA   0xff02
 

#define SHN_MIPS_SCOMMON   0xff03
 

#define SHN_MIPS_TEXT   0xff01
 

#define SHN_UNDEF   0
 

#define SHT_DYNAMIC   6
 

#define SHT_DYNSYM   11
 

#define SHT_HASH   5
 

#define SHT_HIOS   0x6fffffff
 

#define SHT_HIPROC   0x7fffffff
 

#define SHT_HIUSER   0xffffffff
 

#define SHT_LOOS   0x60000000
 

#define SHT_LOPROC   0x70000000
 

#define SHT_LOUSER   0x80000000
 

#define SHT_NOBITS   8
 

#define SHT_NOTE   7
 

#define SHT_NULL   0
 

#define SHT_NUM   12
 

#define SHT_PROGBITS   1
 

#define SHT_REL   9
 

#define SHT_RELA   4
 

#define SHT_SHLIB   10
 

#define SHT_STRTAB   3
 

#define SHT_SYMTAB   2
 

#define STB_GLOBAL   1
 

#define STB_HIOS   12
 

#define STB_HIPROC   15
 

#define STB_LOCAL   0
 

#define STB_LOOS   10
 

#define STB_LOPROC   13
 

#define STB_NUM   3
 

#define STB_WEAK   2
 

#define STT_FILE   4
 

#define STT_FUNC   2
 

#define STT_HIOS   12
 

#define STT_HIPROC   15
 

#define STT_LOOS   10
 

#define STT_LOPROC   13
 

#define STT_NOTYPE   0
 

#define STT_NUM   5
 

#define STT_OBJECT   1
 

#define STT_SECTION   3
 


Typedef Documentation

typedef u_int32_t Elf32_Addr
 

typedef u_int16_t Elf32_Half
 

typedef u_int32_t Elf32_Off
 

typedef int32_t Elf32_Sword
 

typedef u_int32_t Elf32_Word
 

typedef u_int64_t Elf64_Addr
 

typedef u_int32_t Elf64_Half
 

typedef u_int64_t Elf64_Off
 

typedef u_int16_t Elf64_Quarter
 

typedef int32_t Elf64_Shalf
 

typedef int32_t Elf64_Sword
 

typedef int64_t Elf64_Sxword
 

typedef u_int32_t Elf64_Word
 

typedef u_int64_t Elf64_Xword
 

typedef u_int8_t Elf_Byte
 


Generated on Wed May 24 23:06:00 2006 for LSE/OS by  doxygen 1.4.6