16#ifndef LIEF_MACHO_SUB_FRAMEWORK_H
17#define LIEF_MACHO_SUB_FRAMEWORK_H
31struct sub_framework_command;
55 std::unique_ptr<LoadCommand>
clone()
const override {
56 return std::unique_ptr<SubFramework>(
new SubFramework(*
this));
64 umbrella_ = std::move(u);
71 std::ostream&
print(std::ostream& os)
const override;
78 std::string umbrella_;
Class used to parse a single binary (i.e. non-FAT).
Definition BinaryParser.hpp:78
LoadCommand::TYPE command() const
Command type.
Definition LoadCommand.hpp:128
@ SUB_FRAMEWORK
Definition LoadCommand.hpp:63
SubFramework(const SubFramework ©)=default
std::unique_ptr< LoadCommand > clone() const override
Definition SubFramework.hpp:55
friend class BinaryParser
Definition SubFramework.hpp:47
SubFramework & operator=(const SubFramework ©)=default
SubFramework(const details::sub_framework_command &cmd)
~SubFramework() override=default
std::ostream & print(std::ostream &os) const override
void accept(Visitor &visitor) const override
void umbrella(std::string u)
Definition SubFramework.hpp:63
const std::string & umbrella() const
Name of the umbrella framework.
Definition SubFramework.hpp:60
static bool classof(const LoadCommand *cmd)
Definition SubFramework.hpp:73
Definition Visitor.hpp:210
Definition endianness_support.hpp:59
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