Loading [MathJax]/extensions/tex2jax.js
CS350 COS
COS
All Data Structures Files Functions Variables Typedefs Macros
elf_generic.h File Reference
#include <sys/cdefs.h>
Include dependency graph for elf_generic.h:

Go to the source code of this file.

Macros

#define ELF_CLASS   __CONCAT(ELFCLASS,__ELF_WORD_SIZE)
 
#define ELF_DATA   ELFDATA2LSB
 
#define __elfN(x)   __CONCAT(__CONCAT(__CONCAT(elf,__ELF_WORD_SIZE),_),x)
 
#define __ElfN(x)   __CONCAT(__CONCAT(__CONCAT(Elf,__ELF_WORD_SIZE),_),x)
 
#define __ELFN(x)   __CONCAT(__CONCAT(__CONCAT(ELF,__ELF_WORD_SIZE),_),x)
 
#define __ElfType(x)   typedef __ElfN(x) __CONCAT(Elf_,x)
 
#define ELF_R_SYM   __ELFN(R_SYM)
 
#define ELF_R_TYPE   __ELFN(R_TYPE)
 
#define ELF_R_INFO   __ELFN(R_INFO)
 
#define ELF_ST_BIND   __ELFN(ST_BIND)
 
#define ELF_ST_TYPE   __ELFN(ST_TYPE)
 
#define ELF_ST_INFO   __ELFN(ST_INFO)
 

Functions

 __ElfType (Addr)
 
 __ElfType (Half)
 
 __ElfType (Off)
 
 __ElfType (Sword)
 
 __ElfType (Word)
 
 __ElfType (Ehdr)
 
 __ElfType (Shdr)
 
 __ElfType (Phdr)
 
 __ElfType (Dyn)
 
 __ElfType (Rel)
 
 __ElfType (Rela)
 
 __ElfType (Sym)
 
 __ElfType (Verdef)
 
 __ElfType (Verdaux)
 
 __ElfType (Verneed)
 
 __ElfType (Vernaux)
 
 __ElfType (Versym)
 
 __ElfType (Hashelt)
 
 __ElfType (Size)
 
 __ElfType (Ssize)
 

Macro Definition Documentation

◆ __elfN

#define __elfN (   x)    __CONCAT(__CONCAT(__CONCAT(elf,__ELF_WORD_SIZE),_),x)

Definition at line 53 of file elf_generic.h.

◆ __ElfN

#define __ElfN (   x)    __CONCAT(__CONCAT(__CONCAT(Elf,__ELF_WORD_SIZE),_),x)

Definition at line 54 of file elf_generic.h.

◆ __ELFN

#define __ELFN (   x)    __CONCAT(__CONCAT(__CONCAT(ELF,__ELF_WORD_SIZE),_),x)

Definition at line 55 of file elf_generic.h.

◆ __ElfType

#define __ElfType (   x)    typedef __ElfN(x) __CONCAT(Elf_,x)

Definition at line 56 of file elf_generic.h.

◆ ELF_CLASS

#define ELF_CLASS   __CONCAT(ELFCLASS,__ELF_WORD_SIZE)

Definition at line 43 of file elf_generic.h.

◆ ELF_DATA

#define ELF_DATA   ELFDATA2LSB

Definition at line 46 of file elf_generic.h.

◆ ELF_R_INFO

#define ELF_R_INFO   __ELFN(R_INFO)

Definition at line 83 of file elf_generic.h.

◆ ELF_R_SYM

#define ELF_R_SYM   __ELFN(R_SYM)

Definition at line 81 of file elf_generic.h.

◆ ELF_R_TYPE

#define ELF_R_TYPE   __ELFN(R_TYPE)

Definition at line 82 of file elf_generic.h.

◆ ELF_ST_BIND

#define ELF_ST_BIND   __ELFN(ST_BIND)

Definition at line 84 of file elf_generic.h.

◆ ELF_ST_INFO

#define ELF_ST_INFO   __ELFN(ST_INFO)

Definition at line 86 of file elf_generic.h.

◆ ELF_ST_TYPE

#define ELF_ST_TYPE   __ELFN(ST_TYPE)

Definition at line 85 of file elf_generic.h.

Function Documentation

◆ __ElfType() [1/20]

__ElfType ( Addr  )

◆ __ElfType() [2/20]

__ElfType ( Dyn  )

◆ __ElfType() [3/20]

__ElfType ( Ehdr  )

◆ __ElfType() [4/20]

__ElfType ( Half  )

◆ __ElfType() [5/20]

__ElfType ( Hashelt  )

◆ __ElfType() [6/20]

__ElfType ( Off  )

◆ __ElfType() [7/20]

__ElfType ( Phdr  )

◆ __ElfType() [8/20]

__ElfType ( Rel  )

◆ __ElfType() [9/20]

__ElfType ( Rela  )

◆ __ElfType() [10/20]

__ElfType ( Shdr  )

◆ __ElfType() [11/20]

__ElfType ( Size  )

◆ __ElfType() [12/20]

__ElfType ( Ssize  )

◆ __ElfType() [13/20]

__ElfType ( Sword  )

◆ __ElfType() [14/20]

__ElfType ( Sym  )

◆ __ElfType() [15/20]

__ElfType ( Verdaux  )

◆ __ElfType() [16/20]

__ElfType ( Verdef  )

◆ __ElfType() [17/20]

__ElfType ( Vernaux  )

◆ __ElfType() [18/20]

__ElfType ( Verneed  )

◆ __ElfType() [19/20]

__ElfType ( Versym  )

◆ __ElfType() [20/20]

__ElfType ( Word  )