mirror of
https://github.com/QuasarApp/macdependency.git
synced 2025-04-28 13:24:32 +00:00
14 lines
311 B
C++
14 lines
311 B
C++
#include "genericcommand.h"
|
|
#include "machofile.h"
|
|
#include "machoheader.h"
|
|
|
|
GenericCommand::GenericCommand(MachOHeader* header) :
|
|
LoadCommand(header)
|
|
{
|
|
file.readBytes((char*)&command, sizeof(command));
|
|
}
|
|
|
|
unsigned int GenericCommand::getSize() const {
|
|
return file.getUint32(command.cmdsize);
|
|
}
|