LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::PE::DynamicFixupControlTransfer Class Reference

This class wraps fixups associated with the (special) symbol value: IMAGE_DYNAMIC_RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER (3). More...

#include <DynamicFixupControlTransfer.hpp>

Inheritance diagram for LIEF::PE::DynamicFixupControlTransfer:
Collaboration diagram for LIEF::PE::DynamicFixupControlTransfer:

Classes

struct  reloc_entry_t
 Mirror IMAGE_IMPORT_CONTROL_TRANSFER_DYNAMIC_RELOCATION More...
 

Public Types

using reloc_entries_t = std::vector<reloc_entry_t>
 
using it_relocations = ref_iterator<reloc_entries_t&>
 
using it_const_relocations = const_ref_iterator<const reloc_entries_t&>
 
- Public Types inherited from LIEF::PE::DynamicFixup
enum  KIND {
  UNKNOWN = 0 , GENERIC , ARM64X , FUNCTION_OVERRIDE ,
  ARM64_KERNEL_IMPORT_CALL_TRANSFER , GUARD_IMPORT_CONTROL_TRANSFER
}
 

Public Member Functions

 DynamicFixupControlTransfer ()
 
 DynamicFixupControlTransfer (const DynamicFixupControlTransfer &)=default
 
DynamicFixupControlTransferoperator= (const DynamicFixupControlTransfer &)=default
 
 DynamicFixupControlTransfer (DynamicFixupControlTransfer &&)=default
 
DynamicFixupControlTransferoperator= (DynamicFixupControlTransfer &&)=default
 
std::unique_ptr< DynamicFixupclone () const override
 
std::string to_string () const override
 
it_relocations relocations ()
 Iterator over the relocations.
 
it_const_relocations relocations () const
 
 ~DynamicFixupControlTransfer () override=default
 
- Public Member Functions inherited from LIEF::PE::DynamicFixup
 DynamicFixup ()=delete
 
 DynamicFixup (KIND kind)
 
 DynamicFixup (const DynamicFixup &)=default
 
DynamicFixupoperator= (const DynamicFixup &)=default
 
 DynamicFixup (DynamicFixup &&)=default
 
DynamicFixupoperator= (DynamicFixup &&)=default
 
KIND kind () const
 Encoding of the fixups.
 
template<class T >
Tas ()
 
template<class T >
const Tas () const
 
virtual ~DynamicFixup ()=default
 

Static Public Member Functions

static bool classof (const DynamicFixup *fixup)
 

Static Public Attributes

static constexpr auto NO_IAT_INDEX = 0x7fff
 

Detailed Description

This class wraps fixups associated with the (special) symbol value: IMAGE_DYNAMIC_RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER (3).

Member Typedef Documentation

◆ it_const_relocations

◆ it_relocations

◆ reloc_entries_t

Constructor & Destructor Documentation

◆ DynamicFixupControlTransfer() [1/3]

LIEF::PE::DynamicFixupControlTransfer::DynamicFixupControlTransfer ( )
inline

◆ DynamicFixupControlTransfer() [2/3]

LIEF::PE::DynamicFixupControlTransfer::DynamicFixupControlTransfer ( const DynamicFixupControlTransfer & )
default

◆ DynamicFixupControlTransfer() [3/3]

LIEF::PE::DynamicFixupControlTransfer::DynamicFixupControlTransfer ( DynamicFixupControlTransfer && )
default

◆ ~DynamicFixupControlTransfer()

LIEF::PE::DynamicFixupControlTransfer::~DynamicFixupControlTransfer ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::PE::DynamicFixupControlTransfer::classof ( const DynamicFixup * fixup)
inlinestatic

◆ clone()

std::unique_ptr< DynamicFixup > LIEF::PE::DynamicFixupControlTransfer::clone ( ) const
inlineoverridevirtual

◆ operator=() [1/2]

DynamicFixupControlTransfer & LIEF::PE::DynamicFixupControlTransfer::operator= ( const DynamicFixupControlTransfer & )
default

◆ operator=() [2/2]

DynamicFixupControlTransfer & LIEF::PE::DynamicFixupControlTransfer::operator= ( DynamicFixupControlTransfer && )
default

◆ relocations() [1/2]

it_relocations LIEF::PE::DynamicFixupControlTransfer::relocations ( )
inline

Iterator over the relocations.

◆ relocations() [2/2]

it_const_relocations LIEF::PE::DynamicFixupControlTransfer::relocations ( ) const
inline

◆ to_string()

std::string LIEF::PE::DynamicFixupControlTransfer::to_string ( ) const
overridevirtual

Member Data Documentation

◆ NO_IAT_INDEX

auto LIEF::PE::DynamicFixupControlTransfer::NO_IAT_INDEX = 0x7fff
staticconstexpr

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