Go to the documentation of this file.
16#ifndef LIEF_MACHO_INDIRECT_BINDING_INFO_H
17#define LIEF_MACHO_INDIRECT_BINDING_INFO_H
30 friend class BinaryParser;
34 DylibCommand* dylib, uint64_t address)
38 library_ordinal_ = ordinal;
43 IndirectBindingInfo&
operator=(
const IndirectBindingInfo& other) =
default;
49 BindingInfo::TYPES type()
const override {
50 return BindingInfo::TYPES::INDIRECT_SYMBOL;
53 static bool classof(
const BindingInfo* info) {
54 return info->type() == BindingInfo::TYPES::INDIRECT_SYMBOL;
60 std::ostream&
operator<<(std::ostream& os,
const IndirectBindingInfo& info) {
61 os << static_cast<const BindingInfo&>(info);
Class that provides an interface over a binding operation.
Definition BindingInfo.hpp:39
This class represents a binding operation infered from the indirect symbol table.
Definition IndirectBindingInfo.hpp:29
IndirectBindingInfo(IndirectBindingInfo &&) noexcept=default
IndirectBindingInfo & operator=(const IndirectBindingInfo &other)=default
static bool classof(const BindingInfo *info)
Definition IndirectBindingInfo.hpp:53
~IndirectBindingInfo() override=default
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
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41