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

This is the base class for any fixups located in DynamicRelocation. More...

#include <DynamicFixup.hpp>

Inheritance diagram for LIEF::PE::DynamicFixup:

Public Types

enum  KIND {
  UNKNOWN = 0 , GENERIC , ARM64X , FUNCTION_OVERRIDE ,
  ARM64_KERNEL_IMPORT_CALL_TRANSFER , GUARD_IMPORT_CONTROL_TRANSFER
}

Public Member Functions

 DynamicFixup ()=delete
 DynamicFixup (KIND kind)
 DynamicFixup (const DynamicFixup &)=default
DynamicFixupoperator= (const DynamicFixup &)=default
 DynamicFixup (DynamicFixup &&)=default
DynamicFixupoperator= (DynamicFixup &&)=default
virtual std::unique_ptr< DynamicFixupclone () const =0
virtual std::string to_string () const =0
KIND kind () const
 Encoding of the fixups.
template<class T>
Tas ()
template<class T>
const Tas () const
virtual ~DynamicFixup ()=default

Detailed Description

This is the base class for any fixups located in DynamicRelocation.

Member Enumeration Documentation

◆ KIND

Enumerator
UNKNOWN 

If DynamicRelocation::symbol is a special value that is not supported by LIEF.

GENERIC 

If DynamicRelocation::symbol is not a special value.

ARM64X 

If DynamicRelocation::symbol is set to IMAGE_DYNAMIC_RELOCATION_ARM64X.

FUNCTION_OVERRIDE 

If DynamicRelocation::symbol is set to IMAGE_DYNAMIC_RELOCATION_FUNCTION_OVERRIDE.

ARM64_KERNEL_IMPORT_CALL_TRANSFER 

If DynamicRelocation::symbol is set to IMAGE_DYNAMIC_RELOCATION_ARM64_KERNEL_IMPORT_CALL_TRANSFER.

GUARD_IMPORT_CONTROL_TRANSFER 

If DynamicRelocation::symbol is set to IMAGE_DYNAMIC_RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER.

Constructor & Destructor Documentation

◆ DynamicFixup() [1/4]

◆ DynamicFixup() [2/4]

LIEF::PE::DynamicFixup::DynamicFixup ( KIND kind)
inline

References kind().

◆ DynamicFixup() [3/4]

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

References DynamicFixup().

◆ DynamicFixup() [4/4]

LIEF::PE::DynamicFixup::DynamicFixup ( DynamicFixup && )
default

References DynamicFixup().

◆ ~DynamicFixup()

virtual LIEF::PE::DynamicFixup::~DynamicFixup ( )
virtualdefault

References LIEF_LOCAL, LIEF::PE::R, and UNKNOWN.

Member Function Documentation

◆ as() [1/2]

template<class T>
T * LIEF::PE::DynamicFixup::as ( )
inline

References LIEF::PE::T.

Referenced by as().

◆ as() [2/2]

template<class T>
const T * LIEF::PE::DynamicFixup::as ( ) const
inline

References as(), DynamicFixup(), and LIEF::PE::T.

◆ clone()

◆ kind()

◆ operator=() [1/2]

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

References DynamicFixup().

◆ operator=() [2/2]

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

References DynamicFixup().

◆ to_string()


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