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

#include "llvm/Object/ELFTypes.h"

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 507 of file ELFTypes.h.

Member Function Documentation

◆ checkMagic()

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

Definition at line 525 of file ELFTypes.h.

References memcmp.

◆ getDataEncoding()

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

Definition at line 530 of file ELFTypes.h.

◆ getFileClass()

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

Definition at line 529 of file ELFTypes.h.

Member Data Documentation

◆ e_ehsize

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

Definition at line 517 of file ELFTypes.h.

◆ e_entry

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

Definition at line 513 of file ELFTypes.h.

◆ e_flags

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

Definition at line 516 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 509 of file ELFTypes.h.

◆ e_machine

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

Definition at line 511 of file ELFTypes.h.

◆ e_phentsize

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

Definition at line 518 of file ELFTypes.h.

◆ e_phnum

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

Definition at line 519 of file ELFTypes.h.

◆ e_phoff

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

Definition at line 514 of file ELFTypes.h.

◆ e_shentsize

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

Definition at line 520 of file ELFTypes.h.

◆ e_shnum

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

Definition at line 521 of file ELFTypes.h.

◆ e_shoff

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

Definition at line 515 of file ELFTypes.h.

◆ e_shstrndx

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

Definition at line 522 of file ELFTypes.h.

◆ e_type

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

Definition at line 510 of file ELFTypes.h.

◆ e_version

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

Definition at line 512 of file ELFTypes.h.


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