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 |
Referenced by as(), LIEF::PE::DynamicRelocationV1::classof(), LIEF::PE::DynamicRelocationV2::classof(), DynamicRelocation(), DynamicRelocation(), LIEF::PE::DynamicRelocationV1::DynamicRelocationV1(), LIEF::PE::DynamicRelocationV2::DynamicRelocationV2(), fixups(), operator<<, operator=(), operator=(), and symbol().
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | uint32_t | version | ) |
References version().
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | const DynamicRelocation & | ) |
References DynamicRelocation().
LIEF::PE::DynamicRelocation::DynamicRelocation | ( | DynamicRelocation && | ) |
References DynamicRelocation().
|
virtual |
References LIEF::PE::T.
Referenced by as().
References as(), DynamicRelocation(), and 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 | ) |
References DynamicRelocation(), and LIEF::PE::F.
DynamicRelocation & LIEF::PE::DynamicRelocation::operator= | ( | const DynamicRelocation & | ) |
References DynamicRelocation().
DynamicRelocation & LIEF::PE::DynamicRelocation::operator= | ( | DynamicRelocation && | ) |
References DynamicRelocation().
|
inline |
Symbol address. Some values have a special meaning (c.f. IMAGE_DYNAMIC_RELOCATION) and define how fixups are encoded.
|
inline |
References DynamicRelocation().
|
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(), LIEF::PE::DynamicRelocationV2::classof(), and DynamicRelocation().