16#ifndef LIEF_MACHO_DYLD_ENVIROMENT_COMMAND_H
17#define LIEF_MACHO_DYLD_ENVIROMENT_COMMAND_H
21#include "LIEF/visibility.h"
23#include "LIEF/MachO/LoadCommand.hpp"
29struct dylinker_command;
42 std::unique_ptr<LoadCommand> clone()
const override {
48 std::ostream& print(std::ostream& os)
const override;
51 const std::string&
value()
const {
55 void value(std::string value) {
56 value_ = std::move(value);
59 void accept(
Visitor& visitor)
const override;
61 static bool classof(
const LoadCommand* cmd) {
62 return cmd->command() == LoadCommand::TYPE::DYLD_ENVIRONMENT;
Class that represents a LC_DYLD_ENVIRONMENT which is used by the Mach-O linker/loader to initialize a...
Definition DyldEnvironment.hpp:34
const std::string & value() const
The actual environment variable.
Definition DyldEnvironment.hpp:51
Based class for the Mach-O load commands.
Definition LoadCommand.hpp:36
Definition Visitor.hpp:219
LIEF namespace.
Definition Abstract/Binary.hpp:32