LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Class which represents an abstracted Relocation. More...
#include <Relocation.hpp>
Public Member Functions | |
Relocation ()=default | |
Relocation (uint64_t address, uint8_t size) | |
Constructor from a relocation's address and size. | |
~Relocation () override=default | |
Relocation & | operator= (const Relocation &)=default |
Relocation (const Relocation &)=default | |
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.
|
default |
|
inline |
Constructor from a relocation's address and size.
|
overridedefault |
|
default |
|
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.
|
inlinevirtual |
Relocation's address.
Reimplemented in LIEF::MachO::Relocation, LIEF::MachO::RelocationFixup, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
Referenced by operator<(), operator<=(), operator>(), and operator>=().
|
inlinevirtual |
Reimplemented in LIEF::MachO::Relocation, LIEF::MachO::RelocationFixup, and LIEF::PE::RelocationEntry.
|
inlinevirtual |
Comparaison based on the Relocation's address
Reimplemented in LIEF::MachO::RelocationDyld.
References address().
|
inlinevirtual |
Comparaison based on the Relocation's address
Reimplemented in LIEF::MachO::RelocationDyld.
References address().
|
default |
|
inlinevirtual |
Comparaison based on the Relocation's address
Reimplemented in LIEF::MachO::RelocationDyld.
References address().
|
inlinevirtual |
Comparaison based on the Relocation's address
Reimplemented in LIEF::MachO::RelocationDyld.
References address().
|
inlinevirtual |
Relocation size in bits
Reimplemented in LIEF::ELF::Relocation, LIEF::MachO::Relocation, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
|
inlinevirtual |
Reimplemented in LIEF::MachO::Relocation, LIEF::MachO::RelocationObject, and LIEF::PE::RelocationEntry.
|
inline |