16#ifndef LIEF_MACHO_UUID_COMMAND_H
17#define LIEF_MACHO_UUID_COMMAND_H
32using uuid_t = std::array<uint8_t, 16>;
43 std::unique_ptr<LoadCommand>
clone()
const override {
44 return std::unique_ptr<UUIDCommand>(
new UUIDCommand(*
this));
59 std::ostream&
print(std::ostream& os)
const override;
LoadCommand::TYPE command() const
Command type.
Definition LoadCommand.hpp:128
@ UUID
Definition LoadCommand.hpp:72
const uuid_t & uuid() const
The UUID as a 16-bytes array.
Definition UUIDCommand.hpp:50
std::ostream & print(std::ostream &os) const override
static bool classof(const LoadCommand *cmd)
Definition UUIDCommand.hpp:61
void accept(Visitor &visitor) const override
void uuid(const uuid_t &uuid)
Definition UUIDCommand.hpp:53
UUIDCommand & operator=(const UUIDCommand ©)=default
std::unique_ptr< LoadCommand > clone() const override
Definition UUIDCommand.hpp:43
UUIDCommand(const UUIDCommand ©)=default
~UUIDCommand() override=default
UUIDCommand(const details::uuid_command &cmd)
Definition Visitor.hpp:210
Definition endianness_support.hpp:59
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
std::array< uint8_t, 16 > uuid_t
Definition UUIDCommand.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:40
#define LIEF_API
Definition visibility.h:41