LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::PE::CHPEMetadataARM64::range_entry_t Struct Reference

Structure that describes architecture-specific ranges. More...

#include <MetadataARM64.hpp>

Public Types

enum class  TYPE { ARM64 = 0 , ARM64EC = 1 , AMD64 = 2 }

Public Member Functions

uint32_t start () const
 Start of the range (RVA).
TYPE type () const
 Architecture for this range.
uint32_t end () const
 End of the range (RVA).

Public Attributes

uint32_t start_offset = 0
 Raw data (include start RVA and type).
uint32_t length = 0
 Range's length.

Static Public Attributes

static constexpr uint32_t TYPE_MASK = 3

Detailed Description

Structure that describes architecture-specific ranges.

Member Enumeration Documentation

◆ TYPE

Enumerator
ARM64 
ARM64EC 
AMD64 

Member Function Documentation

◆ end()

uint32_t LIEF::PE::CHPEMetadataARM64::range_entry_t::end ( ) const
inline

End of the range (RVA).

References length, and start().

◆ start()

uint32_t LIEF::PE::CHPEMetadataARM64::range_entry_t::start ( ) const
inline

Start of the range (RVA).

References start_offset, and TYPE_MASK.

Referenced by end().

◆ type()

TYPE LIEF::PE::CHPEMetadataARM64::range_entry_t::type ( ) const
inline

Architecture for this range.

References start_offset, and TYPE_MASK.

Member Data Documentation

◆ length

uint32_t LIEF::PE::CHPEMetadataARM64::range_entry_t::length = 0

Range's length.

Referenced by end().

◆ start_offset

uint32_t LIEF::PE::CHPEMetadataARM64::range_entry_t::start_offset = 0

Raw data (include start RVA and type).

Referenced by start(), and type().

◆ TYPE_MASK

uint32_t LIEF::PE::CHPEMetadataARM64::range_entry_t::TYPE_MASK = 3
staticconstexpr

Referenced by start(), and type().


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