16#ifndef LIEF_ABSTRACT_RELOCATION_H
17#define LIEF_ABSTRACT_RELOCATION_H
45 virtual size_t size()
const;
48 virtual void size(
size_t size);
69 uint64_t address_ = 0;
Class which represents an abstracted Relocation.
Definition Abstract/Relocation.hpp:27
friend std::ostream & operator<<(std::ostream &os, const Relocation &entry)
void swap(Relocation &other)
Relocation & operator=(const Relocation &)
virtual void address(uint64_t address)
virtual void size(size_t size)
virtual bool operator<(const Relocation &rhs) const
Comparaison based on the Relocation's address
virtual size_t size() const
Relocation size in bits
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 uint64_t address() const
Relocation's address.
virtual bool operator>=(const Relocation &rhs) const
Comparaison based on the Relocation's address
void accept(Visitor &visitor) const override
Method so that the visitor can visit us.
Relocation(uint64_t address, uint8_t size)
Constructor from a relocation's address and size.
Relocation(const Relocation &)
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41