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

Member Function Documentation

◆ checkMagic()

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

Definition at line 499 of file ELFTypes.h.

References memcmp.

◆ getDataEncoding()

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

Definition at line 504 of file ELFTypes.h.

◆ getFileClass()

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

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

◆ e_entry

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

Definition at line 487 of file ELFTypes.h.

◆ e_flags

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

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

◆ e_machine

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

Definition at line 485 of file ELFTypes.h.

◆ e_phentsize

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

Definition at line 492 of file ELFTypes.h.

◆ e_phnum

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

Definition at line 493 of file ELFTypes.h.

◆ e_phoff

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

Definition at line 488 of file ELFTypes.h.

◆ e_shentsize

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

Definition at line 494 of file ELFTypes.h.

◆ e_shnum

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

Definition at line 495 of file ELFTypes.h.

◆ e_shoff

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

Definition at line 489 of file ELFTypes.h.

◆ e_shstrndx

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

Definition at line 496 of file ELFTypes.h.

◆ e_type

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

Definition at line 484 of file ELFTypes.h.

◆ e_version

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

Definition at line 486 of file ELFTypes.h.


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