retdec
Public Types | Static Public Attributes | List of all members
retdec::unpackertool::upx::ElfUpxStubTraits< 64 > Struct Reference

#include <elf_upx_stub.h>

Public Types

using AddressType = std::uint64_t
 Type with default word size. More...
 
using ElfHeaderType = ELFIO::Elf64_Ehdr
 Type of ELF header. More...
 
using ProgHeaderType = ELFIO::Elf64_Phdr
 Type of ELF program headers. More...
 

Static Public Attributes

static const AddressType FirstBlockOffset = 0x18
 Offset of the first packed block in the file from the end of ELF header. More...
 
static const AddressType ElfHeaderEhsizeOffset = 52
 Offset of ehsize field in ELF header. More...
 
static const AddressType ElfHeaderPhnumOffset = 56
 Offset of phnum field in ELF header. More...
 
static const AddressType ProgHeaderOffsetOffset = 8
 Offset of offset field in ELF program headers. More...
 
static const AddressType ProgHeaderFileszOffset = 32
 Offset of filesz field in ELF program headers. More...
 
static const AddressType ProgHeaderSize = 56
 Size of ELF program header. More...
 

Detailed Description

Specialized traits for ELF64.

Member Typedef Documentation

◆ AddressType

Type with default word size.

◆ ElfHeaderType

Type of ELF header.

◆ ProgHeaderType

Type of ELF program headers.

Member Data Documentation

◆ ElfHeaderEhsizeOffset

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::ElfHeaderEhsizeOffset = 52
static

Offset of ehsize field in ELF header.

◆ ElfHeaderPhnumOffset

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::ElfHeaderPhnumOffset = 56
static

Offset of phnum field in ELF header.

◆ FirstBlockOffset

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::FirstBlockOffset = 0x18
static

Offset of the first packed block in the file from the end of ELF header.

◆ ProgHeaderFileszOffset

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::ProgHeaderFileszOffset = 32
static

Offset of filesz field in ELF program headers.

◆ ProgHeaderOffsetOffset

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::ProgHeaderOffsetOffset = 8
static

Offset of offset field in ELF program headers.

◆ ProgHeaderSize

const AddressType retdec::unpackertool::upx::ElfUpxStubTraits< 64 >::ProgHeaderSize = 56
static

Size of ELF program header.


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