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

Method LoadCommand

src/MachO/LoadCommand.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace MachO {
38
39LoadCommand::LoadCommand(const details::load_command& command) :
40 command_{static_cast<LoadCommand::TYPE>(command.cmd)},
41 size_{command.cmdsize}
42{}
43
44void LoadCommand::swap(LoadCommand& other) noexcept {
45 std::swap(original_data_, other.original_data_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected