|
| RelocationDyld ()=default |
|
RelocationDyld & | operator= (const RelocationDyld &)=default |
|
| RelocationDyld (const RelocationDyld &)=default |
|
| ~RelocationDyld () override=default |
|
std::unique_ptr< Relocation > | clone () const override |
|
bool | is_pc_relative () const override |
| Indicates whether the item containing the address to be relocated is part of a CPU instruction that uses PC-relative addressing.
|
|
ORIGIN | origin () const override |
| Origin of the relocation. For this concrete object, it should be Relocation::ORIGIN::DYLDINFO.
|
|
void | pc_relative (bool val) override |
|
bool | operator< (const RelocationDyld &rhs) const |
|
bool | operator>= (const RelocationDyld &rhs) const |
|
bool | operator> (const RelocationDyld &rhs) const |
|
bool | operator<= (const RelocationDyld &rhs) const |
|
void | accept (Visitor &visitor) const override |
|
std::ostream & | print (std::ostream &os) const override |
|
| Relocation ()=default |
|
| Relocation (uint64_t address, uint8_t type) |
|
| Relocation (const Relocation &other) |
|
| Relocation ()=default |
|
| Relocation (uint64_t address, uint8_t type) |
|
Relocation & | operator= (const Relocation &other) |
|
| Relocation (const Relocation &other) |
|
void | swap (Relocation &other) noexcept |
|
| ~Relocation () override=default |
|
virtual uint8_t | type () const |
| Type of the relocation according to the Relocation::architecture and/or the Relocation::origin.
|
|
Header::CPU_TYPE | architecture () const |
| Achitecture targeted by this relocation.
|
|
bool | has_symbol () const |
| true if the relocation has a symbol associated with
|
|
Symbol * | symbol () |
| Symbol associated with the relocation, if any, otherwise a nullptr.
|
|
const Symbol * | symbol () const |
|
bool | has_section () const |
| true if the relocation has a section associated with
|
|
Section * | section () |
| Section associated with the relocation, if any, otherwise a nullptr.
|
|
const Section * | section () const |
|
bool | has_segment () const |
| true if the relocation has a SegmentCommand associated with
|
|
SegmentCommand * | segment () |
| SegmentCommand associated with the relocation, if any, otherwise a nullptr.
|
|
const SegmentCommand * | segment () const |
|
virtual void | type (uint8_t type) |
|
| 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) |
|
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
|
|
| 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 () |
|
Class that represents a relocation found in the DyldInfo structure.
While this class does not have an associated structure in the Mach-O format specification, it provides a convenient interface for the Dyld::rebase