LIEF: Library to Instrument Executable Formats Version 0.17.0
|
This is the base class for any IMAGE_DYNAMIC_RELOCATION32
, IMAGE_DYNAMIC_RELOCATION32_V2
, IMAGE_DYNAMIC_RELOCATION64
, IMAGE_DYNAMIC_RELOCATION64_V2
dynamic relocations.
More...
#include <DynamicRelocationBase.hpp>
Public Types | |
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... | |
Public Member Functions | |
DynamicRelocation ()=delete | |
DynamicRelocation (uint32_t version) | |
DynamicRelocation (const DynamicRelocation &) | |
DynamicRelocation & | operator= (const DynamicRelocation &) |
DynamicRelocation (DynamicRelocation &&) | |
DynamicRelocation & | operator= (DynamicRelocation &&) |
virtual std::unique_ptr< DynamicRelocation > | clone () const =0 |
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 DynamicFixup * | fixups () const |
DynamicFixup * | fixups () |
Return fixups information, where the interpretation may depend on the symbol's value. | |
DynamicRelocation & | symbol (uint64_t value) |
DynamicRelocation & | fixups (std::unique_ptr< DynamicFixup > F) |
virtual std::string | to_string () const =0 |
template<class T > | |
T * | as () |
template<class T > | |
const T * | as () const |
virtual | ~DynamicRelocation () |
This is the base class for any IMAGE_DYNAMIC_RELOCATION32
, IMAGE_DYNAMIC_RELOCATION32_V2
, IMAGE_DYNAMIC_RELOCATION64
, IMAGE_DYNAMIC_RELOCATION64_V2
dynamic relocations.
Special symbol values as defined in link.exe - GetDVRTSpecialSymbolName
|
delete |
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | uint32_t | version | ) |
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | const DynamicRelocation & | ) |
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | DynamicRelocation && | ) |
|
virtual |
References LIEF::PE::T.
References LIEF::PE::T.
|
pure virtual |
Implemented in LIEF::PE::DynamicRelocationV1, and LIEF::PE::DynamicRelocationV2.
|
inline |
Return fixups information, where the interpretation may depend on the symbol's value.
|
inline |
DynamicRelocation & LIEF::PE::DynamicRelocation::fixups | ( | std::unique_ptr< DynamicFixup > | F | ) |
DynamicRelocation & LIEF::PE::DynamicRelocation::operator= | ( | const DynamicRelocation & | ) |
DynamicRelocation & LIEF::PE::DynamicRelocation::operator= | ( | DynamicRelocation && | ) |
|
inline |
Symbol address. Some values have a special meaning (c.f. IMAGE_DYNAMIC_RELOCATION) and define how fixups are encoded.
|
inline |
|
pure virtual |
Implemented in LIEF::PE::DynamicRelocationV1, and LIEF::PE::DynamicRelocationV2.
Referenced by operator<<.
|
inline |
Version of the structure.
Referenced by LIEF::PE::DynamicRelocationV1::classof(), and LIEF::PE::DynamicRelocationV2::classof().