LIEF: Library to Instrument Executable Formats Version 0.15.1
|
Class which represents an abstracted Relocation. More...
#include <Relocation.hpp>
Public Member Functions | |
Relocation () | |
Relocation (uint64_t address, uint8_t size) | |
Constructor from a relocation's address and size. | |
~Relocation () override | |
Relocation & | operator= (const Relocation &) |
Relocation (const Relocation &) | |
void | swap (Relocation &other) |
virtual uint64_t | address () const |
Relocation's address. | |
virtual size_t | size () const |
Relocation size in bits | |
virtual void | address (uint64_t address) |
virtual void | size (size_t size) |
void | accept (Visitor &visitor) const override |
Method so that the visitor can visit us. | |
virtual bool | operator< (const Relocation &rhs) const |
Comparaison based on the Relocation's address | |
virtual bool | operator<= (const Relocation &rhs) const |
Comparaison based on the Relocation's address | |
virtual bool | operator> (const Relocation &rhs) const |
Comparaison based on the Relocation's address | |
virtual bool | operator>= (const Relocation &rhs) const |
Comparaison based on the Relocation's address | |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
Additional Inherited Members | |
Public Types inherited from LIEF::Object | |
template<class T > | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T > | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Class which represents an abstracted Relocation.
LIEF::Relocation::Relocation | ( | ) |
LIEF::Relocation::Relocation | ( | uint64_t | address, |
uint8_t | size ) |
Constructor from a relocation's address and size.
|
override |
LIEF::Relocation::Relocation | ( | const Relocation & | ) |
|
overridevirtual |
Method so that the visitor
can visit us.
Implements LIEF::Object.
Reimplemented in LIEF::MachO::RelocationDyld, LIEF::MachO::RelocationFixup, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
|
virtual |
Relocation's address.
Reimplemented in LIEF::MachO::RelocationFixup, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
|
virtual |
Reimplemented in LIEF::MachO::RelocationFixup, and LIEF::PE::RelocationEntry.
|
virtual |
Comparaison based on the Relocation's address
|
virtual |
Comparaison based on the Relocation's address
Relocation & LIEF::Relocation::operator= | ( | const Relocation & | ) |
|
virtual |
Comparaison based on the Relocation's address
|
virtual |
Comparaison based on the Relocation's address
|
virtual |
Relocation size in bits
Reimplemented in LIEF::ELF::Relocation, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
|
virtual |
Reimplemented in LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
void LIEF::Relocation::swap | ( | Relocation & | other | ) |