LLVM  7.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::ELF::Elf64_Ehdr Struct Reference

#include "llvm/BinaryFormat/ELF.h"

Collaboration diagram for llvm::ELF::Elf64_Ehdr:
Collaboration graph

Public Member Functions

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

Public Attributes

unsigned char e_ident [EI_NIDENT]
Elf64_Half e_type
Elf64_Half e_machine
Elf64_Word e_version
Elf64_Addr e_entry
Elf64_Off e_phoff
Elf64_Off e_shoff
Elf64_Word e_flags
Elf64_Half e_ehsize
Elf64_Half e_phentsize
Elf64_Half e_phnum
Elf64_Half e_shentsize
Elf64_Half e_shnum
Elf64_Half e_shstrndx

Detailed Description

Definition at line 87 of file ELF.h.

Member Function Documentation

◆ checkMagic()

bool llvm::ELF::Elf64_Ehdr::checkMagic ( ) const

Definition at line 103 of file ELF.h.

References memcmp.

◆ getDataEncoding()

unsigned char llvm::ELF::Elf64_Ehdr::getDataEncoding ( ) const

Definition at line 108 of file ELF.h.

References llvm::ELF::EI_DATA.

◆ getFileClass()

unsigned char llvm::ELF::Elf64_Ehdr::getFileClass ( ) const

Definition at line 107 of file ELF.h.

References llvm::ELF::EI_CLASS.

Member Data Documentation

◆ e_ehsize

Elf64_Half llvm::ELF::Elf64_Ehdr::e_ehsize

Definition at line 96 of file ELF.h.

◆ e_entry

Elf64_Addr llvm::ELF::Elf64_Ehdr::e_entry

Definition at line 92 of file ELF.h.

◆ e_flags

Elf64_Word llvm::ELF::Elf64_Ehdr::e_flags

Definition at line 95 of file ELF.h.

◆ e_ident

unsigned char llvm::ELF::Elf64_Ehdr::e_ident[EI_NIDENT]

Definition at line 88 of file ELF.h.

◆ e_machine

Elf64_Half llvm::ELF::Elf64_Ehdr::e_machine

Definition at line 90 of file ELF.h.

◆ e_phentsize

Elf64_Half llvm::ELF::Elf64_Ehdr::e_phentsize

Definition at line 97 of file ELF.h.

◆ e_phnum

Elf64_Half llvm::ELF::Elf64_Ehdr::e_phnum

Definition at line 98 of file ELF.h.

◆ e_phoff

Elf64_Off llvm::ELF::Elf64_Ehdr::e_phoff

Definition at line 93 of file ELF.h.

◆ e_shentsize

Elf64_Half llvm::ELF::Elf64_Ehdr::e_shentsize

Definition at line 99 of file ELF.h.

◆ e_shnum

Elf64_Half llvm::ELF::Elf64_Ehdr::e_shnum

Definition at line 100 of file ELF.h.

◆ e_shoff

Elf64_Off llvm::ELF::Elf64_Ehdr::e_shoff

Definition at line 94 of file ELF.h.

◆ e_shstrndx

Elf64_Half llvm::ELF::Elf64_Ehdr::e_shstrndx

Definition at line 101 of file ELF.h.

◆ e_type

Elf64_Half llvm::ELF::Elf64_Ehdr::e_type

Definition at line 89 of file ELF.h.

◆ e_version

Elf64_Word llvm::ELF::Elf64_Ehdr::e_version

Definition at line 91 of file ELF.h.

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