#include "dylinkercommand.h" #include "machofile.h" #include "machoheader.h" #include DylinkerCommand::DylinkerCommand(MachOHeader* header) : LoadCommand(header) { file.readBytes((char*)&command, sizeof(command)); } DylinkerCommand::~DylinkerCommand() { } unsigned int DylinkerCommand::getSize() const { return file.getUint32(command.cmdsize); } std::string DylinkerCommand::getName() const { return getLcDataString(command.name.offset); }