MCPcopy Create free account
hub / github.com/lief-project/LIEF / ThreadCommand

Method ThreadCommand

src/MachO/ThreadCommand.cpp:27–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25namespace MachO {
26
27ThreadCommand::ThreadCommand(const details::thread_command& cmd, Header::CPU_TYPE arch) :
28 LoadCommand::LoadCommand{LoadCommand::TYPE(cmd.cmd), cmd.cmdsize},
29 flavor_{cmd.flavor},
30 count_{cmd.count},
31 architecture_{arch}
32{}
33
34ThreadCommand::ThreadCommand(uint32_t flavor, uint32_t count, Header::CPU_TYPE arch) :
35 LoadCommand::LoadCommand{LoadCommand::TYPE::UNIXTHREAD,

Callers

nothing calls this directly

Calls 2

TYPEEnum · 0.50
sizeFunction · 0.50

Tested by

no test coverage detected