LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::object::Elf_Ehdr_Impl< ELFT > Struct Template Reference

#include "llvm/Object/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 29 of file ELFTypes.h.

Member Function Documentation

◆ checkMagic()

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

Definition at line 470 of file ELFTypes.h.

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

◆ getDataEncoding()

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

Definition at line 475 of file ELFTypes.h.

References llvm::ELF::EI_DATA.

◆ getFileClass()

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

Definition at line 474 of file ELFTypes.h.

References llvm::ELF::EI_CLASS.

Member Data Documentation

◆ e_ehsize

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

Definition at line 462 of file ELFTypes.h.

◆ e_entry

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

Definition at line 458 of file ELFTypes.h.

◆ e_flags

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

Definition at line 461 of file ELFTypes.h.

◆ e_ident

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

Definition at line 454 of file ELFTypes.h.

◆ e_machine

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

Definition at line 456 of file ELFTypes.h.

◆ e_phentsize

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

Definition at line 463 of file ELFTypes.h.

◆ e_phnum

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

Definition at line 464 of file ELFTypes.h.

◆ e_phoff

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

Definition at line 459 of file ELFTypes.h.

◆ e_shentsize

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

Definition at line 465 of file ELFTypes.h.

◆ e_shnum

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

Definition at line 466 of file ELFTypes.h.

◆ e_shoff

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

Definition at line 460 of file ELFTypes.h.

◆ e_shstrndx

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

Definition at line 467 of file ELFTypes.h.

◆ e_type

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

Definition at line 455 of file ELFTypes.h.

◆ e_version

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

Definition at line 457 of file ELFTypes.h.


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