file/src/readelf.h File Reference

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  elf_note
struct  Elf64_Nhdr

Defines

#define USE_ARRAY_FOR_64BIT_TYPES
#define EI_NIDENT   16
#define ET_EXEC   2
#define ET_CORE   4
#define SHT_SYMTAB   2
#define SHT_NOTE   7
#define SHT_DYNSYM   11
#define ELFDATANONE   0
#define ELFDATA2LSB   1
#define ELFDATA2MSB   2
#define ELFCLASSNONE   0
#define ELFCLASS32   1
#define ELFCLASS64   2
#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_PAD   7
#define ELFMAG0   0x7f
#define ELFMAG1   'E'
#define ELFMAG2   'L'
#define ELFMAG3   'F'
#define ELFMAG   "\177ELF"
#define OLFMAG1   'O'
#define OLFMAG   "\177OLF"
#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 NT_PRSTATUS   1
#define NT_PRFPREG   2
#define NT_PRPSINFO   3
#define NT_TASKSTRUCT   4
#define NT_NETBSD_CORE_PROCINFO   1
#define NT_PRSTATUS   1
#define NT_PRFPREG   2
#define NT_PRPSINFO   3
#define NT_PRXREG   4
#define NT_PLATFORM   5
#define NT_AUXV   6
#define NT_NETBSD_VERSION   1
#define NT_NETBSD_EMULATION   2
#define NT_FREEBSD_VERSION   1
#define NT_OPENBSD_VERSION   1
#define NT_DRAGONFLY_VERSION   1
#define NT_GNU_VERSION   1
#define GNU_OS_LINUX   0
#define GNU_OS_HURD   1
#define GNU_OS_SOLARIS   2

Typedefs

typedef uint32_t Elf32_Addr
typedef uint32_t Elf32_Off
typedef uint16_t Elf32_Half
typedef uint32_t Elf32_Word
typedef uint8_t Elf32_Char
typedef uint32_t Elf64_Addr [2]
typedef uint32_t Elf64_Off [2]
typedef uint32_t Elf64_Xword [2]
typedef uint16_t Elf64_Half
typedef uint32_t Elf64_Word
typedef uint8_t Elf64_Char
typedef elf_note Elf32_Nhdr


Define Documentation

#define EI_CLASS   4

Definition at line 121 of file readelf.h.

Referenced by rpmfcELF(), and rpmfcSYMLINK().

#define EI_DATA   5

Definition at line 122 of file readelf.h.

#define EI_MAG0   0

Definition at line 117 of file readelf.h.

#define EI_MAG1   1

Definition at line 118 of file readelf.h.

#define EI_MAG2   2

Definition at line 119 of file readelf.h.

#define EI_MAG3   3

Definition at line 120 of file readelf.h.

#define EI_NIDENT   16

Definition at line 61 of file readelf.h.

#define EI_PAD   7

Definition at line 124 of file readelf.h.

#define EI_VERSION   6

Definition at line 123 of file readelf.h.

#define ELFCLASS32   1

Definition at line 113 of file readelf.h.

#define ELFCLASS64   2

Definition at line 114 of file readelf.h.

Referenced by rpmfcELF(), and rpmfcSYMLINK().

#define ELFCLASSNONE   0

Definition at line 112 of file readelf.h.

#define ELFDATA2LSB   1

Definition at line 108 of file readelf.h.

#define ELFDATA2MSB   2

Definition at line 109 of file readelf.h.

#define ELFDATANONE   0

Definition at line 107 of file readelf.h.

#define ELFMAG   "\177ELF"

Definition at line 130 of file readelf.h.

#define ELFMAG0   0x7f

Definition at line 126 of file readelf.h.

#define ELFMAG1   'E'

Definition at line 127 of file readelf.h.

#define ELFMAG2   'L'

Definition at line 128 of file readelf.h.

#define ELFMAG3   'F'

Definition at line 129 of file readelf.h.

#define ET_CORE   4

Definition at line 99 of file readelf.h.

#define ET_EXEC   2

Definition at line 98 of file readelf.h.

Referenced by open_dso(), and rpmfcELF().

#define GNU_OS_HURD   1

Definition at line 232 of file readelf.h.

#define GNU_OS_LINUX   0

Definition at line 231 of file readelf.h.

#define GNU_OS_SOLARIS   2

Definition at line 233 of file readelf.h.

#define NT_AUXV   6

Definition at line 218 of file readelf.h.

#define NT_DRAGONFLY_VERSION   1

Definition at line 226 of file readelf.h.

#define NT_FREEBSD_VERSION   1

Definition at line 224 of file readelf.h.

#define NT_GNU_VERSION   1

Definition at line 228 of file readelf.h.

#define NT_NETBSD_CORE_PROCINFO   1

Definition at line 198 of file readelf.h.

#define NT_NETBSD_EMULATION   2

Definition at line 223 of file readelf.h.

#define NT_NETBSD_VERSION   1

Definition at line 222 of file readelf.h.

#define NT_OPENBSD_VERSION   1

Definition at line 225 of file readelf.h.

#define NT_PLATFORM   5

Definition at line 217 of file readelf.h.

#define NT_PRFPREG   2

Definition at line 214 of file readelf.h.

#define NT_PRFPREG   2

Definition at line 214 of file readelf.h.

#define NT_PRPSINFO   3

Definition at line 215 of file readelf.h.

#define NT_PRPSINFO   3

Definition at line 215 of file readelf.h.

#define NT_PRSTATUS   1

Definition at line 213 of file readelf.h.

#define NT_PRSTATUS   1

Definition at line 213 of file readelf.h.

#define NT_PRXREG   4

Definition at line 216 of file readelf.h.

#define NT_TASKSTRUCT   4

Definition at line 196 of file readelf.h.

#define OLFMAG   "\177OLF"

Definition at line 133 of file readelf.h.

#define OLFMAG1   'O'

Definition at line 132 of file readelf.h.

#define PT_DYNAMIC   2

Definition at line 159 of file readelf.h.

Referenced by rpmfcSYMLINK().

#define PT_INTERP   3

Definition at line 160 of file readelf.h.

#define PT_LOAD   1

Definition at line 158 of file readelf.h.

#define PT_NOTE   4

Definition at line 161 of file readelf.h.

#define PT_NULL   0

Definition at line 157 of file readelf.h.

#define PT_NUM   7

Definition at line 164 of file readelf.h.

#define PT_PHDR   6

Definition at line 163 of file readelf.h.

#define PT_SHLIB   5

Definition at line 162 of file readelf.h.

#define SHT_DYNSYM   11

Definition at line 104 of file readelf.h.

#define SHT_NOTE   7

Definition at line 103 of file readelf.h.

#define SHT_SYMTAB   2

Definition at line 102 of file readelf.h.

#define USE_ARRAY_FOR_64BIT_TYPES

Definition at line 48 of file readelf.h.


Typedef Documentation

typedef uint32_t Elf32_Addr

Definition at line 41 of file readelf.h.

typedef uint8_t Elf32_Char

Definition at line 45 of file readelf.h.

typedef uint16_t Elf32_Half

Definition at line 43 of file readelf.h.

typedef struct elf_note Elf32_Nhdr

typedef uint32_t Elf32_Off

Definition at line 42 of file readelf.h.

typedef uint32_t Elf32_Word

Definition at line 44 of file readelf.h.

typedef uint32_t Elf64_Addr[2]

Definition at line 49 of file readelf.h.

typedef uint8_t Elf64_Char

Definition at line 59 of file readelf.h.

typedef uint16_t Elf64_Half

Definition at line 57 of file readelf.h.

typedef uint32_t Elf64_Off[2]

Definition at line 50 of file readelf.h.

typedef uint32_t Elf64_Word

Definition at line 58 of file readelf.h.

typedef uint32_t Elf64_Xword[2]

Definition at line 51 of file readelf.h.


Generated on Fri Oct 12 08:44:55 2007 for rpm by  doxygen 1.5.2