LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::object::Elf_Ehdr_Impl< ELFT > Struct Template Reference

#include <ELFTypes.h>

Collaboration diagram for llvm::object::Elf_Ehdr_Impl< ELFT >:
Collaboration graph
[legend]

Public Member Functions

bool checkMagic () const
 
unsigned char getFileClass () const
 
unsigned char getDataEncoding () const
 

Public Attributes

unsigned char e_ident [ELF::EI_NIDENT]
 
Elf_Half e_type
 
Elf_Half e_machine
 
Elf_Word e_version
 
Elf_Addr e_entry
 
Elf_Off e_phoff
 
Elf_Off e_shoff
 
Elf_Word e_flags
 
Elf_Half e_ehsize
 
Elf_Half e_phentsize
 
Elf_Half e_phnum
 
Elf_Half e_shentsize
 
Elf_Half e_shnum
 
Elf_Half e_shstrndx
 

Detailed Description

template<class ELFT>
struct llvm::object::Elf_Ehdr_Impl< ELFT >

Definition at line 408 of file ELFTypes.h.

Member Function Documentation

template<class ELFT >
bool llvm::object::Elf_Ehdr_Impl< ELFT >::checkMagic ( ) const
inline

Definition at line 425 of file ELFTypes.h.

References llvm::ELF::ElfMagic, llvm::LibFunc::memcmp, and llvm::LibFunc::strlen.

template<class ELFT >
unsigned char llvm::object::Elf_Ehdr_Impl< ELFT >::getDataEncoding ( ) const
inline

Definition at line 429 of file ELFTypes.h.

References llvm::ELF::EI_DATA.

Referenced by llvm::object::ELFFile< ELFT >::isMips64EL().

template<class ELFT >
unsigned char llvm::object::Elf_Ehdr_Impl< ELFT >::getFileClass ( ) const
inline

Definition at line 428 of file ELFTypes.h.

References llvm::ELF::EI_CLASS.

Referenced by llvm::object::ELFFile< ELFT >::isMips64EL().

Member Data Documentation

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_ehsize

Definition at line 418 of file ELFTypes.h.

template<class ELFT >
Elf_Addr llvm::object::Elf_Ehdr_Impl< ELFT >::e_entry

Definition at line 414 of file ELFTypes.h.

template<class ELFT >
Elf_Word llvm::object::Elf_Ehdr_Impl< ELFT >::e_flags

Definition at line 417 of file ELFTypes.h.

template<class ELFT >
unsigned char llvm::object::Elf_Ehdr_Impl< ELFT >::e_ident[ELF::EI_NIDENT]

Definition at line 410 of file ELFTypes.h.

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_machine

Definition at line 412 of file ELFTypes.h.

Referenced by llvm::object::ELFFile< ELFT >::isMips64EL().

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_phentsize
template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_phnum

Definition at line 420 of file ELFTypes.h.

Referenced by llvm::object::ELFFile< ELFT >::end_program_headers().

template<class ELFT >
Elf_Off llvm::object::Elf_Ehdr_Impl< ELFT >::e_phoff
template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_shentsize

Definition at line 421 of file ELFTypes.h.

Referenced by llvm::object::ELFFile< ELFT >::ELFFile().

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_shnum

Definition at line 422 of file ELFTypes.h.

template<class ELFT >
Elf_Off llvm::object::Elf_Ehdr_Impl< ELFT >::e_shoff

Definition at line 416 of file ELFTypes.h.

Referenced by llvm::object::ELFFile< ELFT >::ELFFile().

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_shstrndx

Definition at line 423 of file ELFTypes.h.

template<class ELFT >
Elf_Half llvm::object::Elf_Ehdr_Impl< ELFT >::e_type

Definition at line 411 of file ELFTypes.h.

template<class ELFT >
Elf_Word llvm::object::Elf_Ehdr_Impl< ELFT >::e_version

Definition at line 413 of file ELFTypes.h.


The documentation for this struct was generated from the following file: