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

This class represents a dynamic relocation (IMAGE_DYNAMIC_RELOCATION32 or IMAGE_DYNAMIC_RELOCATION64) More...

#include <DynamicRelocationV1.hpp>

Inheritance diagram for LIEF::PE::DynamicRelocationV1:
Collaboration diagram for LIEF::PE::DynamicRelocationV1:

Public Member Functions

 DynamicRelocationV1 ()
 
 DynamicRelocationV1 (const DynamicRelocationV1 &)=default
 
DynamicRelocationV1operator= (const DynamicRelocationV1 &)=default
 
 DynamicRelocationV1 (DynamicRelocationV1 &&)=default
 
DynamicRelocationV1operator= (DynamicRelocationV1 &&)=default
 
std::unique_ptr< DynamicRelocationclone () const override
 
std::string to_string () const override
 
 ~DynamicRelocationV1 () override=default
 
- Public Member Functions inherited from LIEF::PE::DynamicRelocation
 DynamicRelocation ()=delete
 
 DynamicRelocation (uint32_t version)
 
 DynamicRelocation (const DynamicRelocation &)
 
DynamicRelocationoperator= (const DynamicRelocation &)
 
 DynamicRelocation (DynamicRelocation &&)
 
DynamicRelocationoperator= (DynamicRelocation &&)
 
uint32_t version () const
 Version of the structure.
 
uint64_t symbol () const
 Symbol address. Some values have a special meaning (c.f. IMAGE_DYNAMIC_RELOCATION) and define how fixups are encoded.
 
const DynamicFixupfixups () const
 
DynamicFixupfixups ()
 Return fixups information, where the interpretation may depend on the symbol's value.
 
DynamicRelocationsymbol (uint64_t value)
 
DynamicRelocationfixups (std::unique_ptr< DynamicFixup > F)
 
template<class T >
Tas ()
 
template<class T >
const Tas () const
 
virtual ~DynamicRelocation ()
 

Static Public Member Functions

static bool classof (const DynamicRelocation *reloc)
 

Additional Inherited Members

- Public Types inherited from LIEF::PE::DynamicRelocation
enum  IMAGE_DYNAMIC_RELOCATION {
  RELOCATION_GUARD_RF_PROLOGUE = 1 , RELOCATION_GUARD_RF_EPILOGUE = 2 , RELOCATION_GUARD_IMPORT_CONTROL_TRANSFER = 3 , RELOCATION_GUARD_INDIR_CONTROL_TRANSFER = 4 ,
  RELOCATION_GUARD_SWITCHTABLE_BRANCH = 5 , RELOCATION_ARM64X = 6 , RELOCATION_FUNCTION_OVERRIDE = 7 , RELOCATION_ARM64_KERNEL_IMPORT_CALL_TRANSFER = 8 ,
  _RELOC_LAST_ENTRY
}
 Special symbol values as defined in link.exe - GetDVRTSpecialSymbolName More...
 

Detailed Description

This class represents a dynamic relocation (IMAGE_DYNAMIC_RELOCATION32 or IMAGE_DYNAMIC_RELOCATION64)

Constructor & Destructor Documentation

◆ DynamicRelocationV1() [1/3]

LIEF::PE::DynamicRelocationV1::DynamicRelocationV1 ( )
inline

◆ DynamicRelocationV1() [2/3]

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

◆ DynamicRelocationV1() [3/3]

LIEF::PE::DynamicRelocationV1::DynamicRelocationV1 ( DynamicRelocationV1 && )
default

◆ ~DynamicRelocationV1()

LIEF::PE::DynamicRelocationV1::~DynamicRelocationV1 ( )
overridedefault

Member Function Documentation

◆ classof()

static bool LIEF::PE::DynamicRelocationV1::classof ( const DynamicRelocation * reloc)
inlinestatic

◆ clone()

std::unique_ptr< DynamicRelocation > LIEF::PE::DynamicRelocationV1::clone ( ) const
inlineoverridevirtual

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ to_string()

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

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