macdependency/MachO/dylinkercommand.h
Mike Lischke 972fcb3094 Overhaul of the application to avoid it crashing on macOS Sierra.
- Applied all recommended XCode (8) settings.
- Removed boost and replaced that code by standard functions.
- Implemented name mangling via abi::__cxa_demangle instead of running an external process to use c++filt.
- Enabled C++11. Min deployment target is now OSX 10.7.
- Some code clean up (e.g. formatting, std namespace).
2016-11-19 16:23:39 +01:00

20 lines
463 B
C++

#ifndef DYLINKERCOMMAND_H
#define DYLINKERCOMMAND_H
#include "macho_global.h"
#include "loadcommand.h"
class EXPORT DylinkerCommand : public LoadCommand
{
public:
DylinkerCommand(MachOHeader* header);
virtual ~DylinkerCommand();
virtual unsigned int getSize() const;
virtual unsigned int getStructureSize() const { return sizeof(command); }
std::string getName() const;
private:
dylinker_command command;
};
#endif // DYLINKERCOMMAND_H