Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

file/readelf.h File Reference

Go to the source code of this file.

Data Structures

struct  Elf32_Ehdr
struct  Elf32_Phdr
struct  Elf32_Shdr
struct  Elf64_Ehdr
struct  Elf64_Nhdr
struct  Elf64_Phdr
struct  Elf64_Shdr
struct  elf_note

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_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 101 of file readelf.h.

Referenced by rpmfcELF().

#define EI_DATA   5
 

Definition at line 102 of file readelf.h.

#define EI_MAG0   0
 

Definition at line 97 of file readelf.h.

#define EI_MAG1   1
 

Definition at line 98 of file readelf.h.

#define EI_MAG2   2
 

Definition at line 99 of file readelf.h.

#define EI_MAG3   3
 

Definition at line 100 of file readelf.h.

#define EI_NIDENT   16
 

Definition at line 39 of file readelf.h.

#define EI_PAD   7
 

Definition at line 104 of file readelf.h.

#define EI_VERSION   6
 

Definition at line 103 of file readelf.h.

#define ELFCLASS32   1
 

Definition at line 93 of file readelf.h.

#define ELFCLASS64   2
 

Definition at line 94 of file readelf.h.

Referenced by rpmfcELF().

#define ELFCLASSNONE   0
 

Definition at line 92 of file readelf.h.

#define ELFDATA2LSB   1
 

Definition at line 88 of file readelf.h.

#define ELFDATA2MSB   2
 

Definition at line 89 of file readelf.h.

#define ELFDATANONE   0
 

Definition at line 87 of file readelf.h.

#define ELFMAG   "\177ELF"
 

Definition at line 110 of file readelf.h.

#define ELFMAG0   0x7f
 

Definition at line 106 of file readelf.h.

#define ELFMAG1   'E'
 

Definition at line 107 of file readelf.h.

#define ELFMAG2   'L'
 

Definition at line 108 of file readelf.h.

#define ELFMAG3   'F'
 

Definition at line 109 of file readelf.h.

#define ET_CORE   4
 

Definition at line 79 of file readelf.h.

#define ET_EXEC   2
 

Definition at line 78 of file readelf.h.

Referenced by open_dso(), and rpmfcELF().

#define GNU_OS_HURD   1
 

Definition at line 213 of file readelf.h.

#define GNU_OS_LINUX   0
 

Definition at line 212 of file readelf.h.

#define GNU_OS_SOLARIS   2
 

Definition at line 214 of file readelf.h.

#define NT_AUXV   6
 

Definition at line 200 of file readelf.h.

#define NT_FREEBSD_VERSION   1
 

Definition at line 206 of file readelf.h.

#define NT_GNU_VERSION   1
 

Definition at line 209 of file readelf.h.

#define NT_NETBSD_CORE_PROCINFO   1
 

Definition at line 180 of file readelf.h.

#define NT_NETBSD_EMULATION   2
 

Definition at line 205 of file readelf.h.

#define NT_NETBSD_VERSION   1
 

Definition at line 204 of file readelf.h.

#define NT_OPENBSD_VERSION   1
 

Definition at line 207 of file readelf.h.

#define NT_PLATFORM   5
 

Definition at line 199 of file readelf.h.

#define NT_PRFPREG   2
 

Definition at line 196 of file readelf.h.

#define NT_PRFPREG   2
 

Definition at line 196 of file readelf.h.

#define NT_PRPSINFO   3
 

Definition at line 197 of file readelf.h.

#define NT_PRPSINFO   3
 

Definition at line 197 of file readelf.h.

#define NT_PRSTATUS   1
 

Definition at line 195 of file readelf.h.

#define NT_PRSTATUS   1
 

Definition at line 195 of file readelf.h.

#define NT_PRXREG   4
 

Definition at line 198 of file readelf.h.

#define NT_TASKSTRUCT   4
 

Definition at line 178 of file readelf.h.

#define OLFMAG   "\177OLF"
 

Definition at line 113 of file readelf.h.

#define OLFMAG1   'O'
 

Definition at line 112 of file readelf.h.

#define PT_DYNAMIC   2
 

Definition at line 139 of file readelf.h.

#define PT_INTERP   3
 

Definition at line 140 of file readelf.h.

#define PT_LOAD   1
 

Definition at line 138 of file readelf.h.

#define PT_NOTE   4
 

Definition at line 141 of file readelf.h.

#define PT_NULL   0
 

Definition at line 137 of file readelf.h.

#define PT_NUM   7
 

Definition at line 144 of file readelf.h.

#define PT_PHDR   6
 

Definition at line 143 of file readelf.h.

#define PT_SHLIB   5
 

Definition at line 142 of file readelf.h.

#define SHT_DYNSYM   11
 

Definition at line 84 of file readelf.h.

#define SHT_NOTE   7
 

Definition at line 83 of file readelf.h.

#define SHT_SYMTAB   2
 

Definition at line 82 of file readelf.h.

#define USE_ARRAY_FOR_64BIT_TYPES
 

Definition at line 26 of file readelf.h.


Typedef Documentation

typedef uint32_t Elf32_Addr
 

Definition at line 19 of file readelf.h.

typedef uint8_t Elf32_Char
 

Definition at line 23 of file readelf.h.

typedef uint16_t Elf32_Half
 

Definition at line 21 of file readelf.h.

typedef struct elf_note Elf32_Nhdr
 

typedef uint32_t Elf32_Off
 

Definition at line 20 of file readelf.h.

typedef uint32_t Elf32_Word
 

Definition at line 22 of file readelf.h.

typedef uint32_t Elf64_Addr[2]
 

Definition at line 27 of file readelf.h.

typedef uint8_t Elf64_Char
 

Definition at line 37 of file readelf.h.

typedef uint16_t Elf64_Half
 

Definition at line 35 of file readelf.h.

typedef uint32_t Elf64_Off[2]
 

Definition at line 28 of file readelf.h.

typedef uint32_t Elf64_Word
 

Definition at line 36 of file readelf.h.

typedef uint32_t Elf64_Xword[2]
 

Definition at line 29 of file readelf.h.


Generated on Sun Oct 26 13:02:04 2003 for rpm by doxygen1.2.18