16#ifndef LIEF_MACHO_INDIRECT_BINDING_INFO_H
17#define LIEF_MACHO_INDIRECT_BINDING_INFO_H
37 library_ordinal_ = ordinal;
60 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:70
const Symbol * symbol() const
MachO::Symbol associated with the BindingInfo or a nullptr if not present.
Definition BindingInfo.hpp:98
TYPES
Definition BindingInfo.hpp:46
@ INDIRECT_SYMBOL
Internal use.
Definition BindingInfo.hpp:51
virtual uint64_t address() const
Address of the binding.
Definition BindingInfo.hpp:106
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:52
~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:58
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:48
Class which represents a LoadCommand::TYPE::SEGMENT / LoadCommand::TYPE::SEGMENT_64 command.
Definition SegmentCommand.hpp:51
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:43