16#ifndef LIEF_MACHO_INDIRECT_BINDING_INFO_H
17#define LIEF_MACHO_INDIRECT_BINDING_INFO_H
38 library_ordinal_ = ordinal;
61 os << static_cast<const BindingInfo&>(info);
const SegmentCommand * segment() const
The MachO::SegmentCommand associated with the BindingInfo or a nullptr of it is not bind to a Segment...
Definition BindingInfo.hpp:69
const Symbol * symbol() const
MachO::Symbol associated with the BindingInfo or a nullptr if not present.
Definition BindingInfo.hpp:97
TYPES
Definition BindingInfo.hpp:45
@ INDIRECT_SYMBOL
Internal use.
Definition BindingInfo.hpp:50
virtual uint64_t address() const
Address of the binding.
Definition BindingInfo.hpp:105
Class which represents a library dependency.
Definition DylibCommand.hpp:34
IndirectBindingInfo & operator=(IndirectBindingInfo &&) noexcept=default
IndirectBindingInfo & operator=(const IndirectBindingInfo &other)=default
static bool classof(const BindingInfo *info)
Definition IndirectBindingInfo.hpp:53
~IndirectBindingInfo() override=default
friend class BinaryParser
Definition IndirectBindingInfo.hpp:30
IndirectBindingInfo(const IndirectBindingInfo &other)=default
friend std::ostream & operator<<(std::ostream &os, const IndirectBindingInfo &info)
Definition IndirectBindingInfo.hpp:60
IndirectBindingInfo(SegmentCommand &segment, Symbol &symbol, int32_t ordinal, DylibCommand *dylib, uint64_t address)
Definition IndirectBindingInfo.hpp:33
BindingInfo::TYPES type() const override
The type of the binding. This type provides the origin of the binding (LC_DYLD_INFO or LC_DYLD_CHAINE...
Definition IndirectBindingInfo.hpp:49
Class which represents a LoadCommand::TYPE::SEGMENT / LoadCommand::TYPE::SEGMENT_64 command.
Definition SegmentCommand.hpp:50
Class that represents a Symbol in a Mach-O file.
Definition MachO/Symbol.hpp:47
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41