MCPcopy Create free account
hub / github.com/cvut/qtrvsim / ~ProgramLoader

Method ~ProgramLoader

src/machine/programloader.cpp:116–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 : ProgramLoader(QString::fromLocal8Bit(file)) {}
115
116ProgramLoader::~ProgramLoader() {
117 // Close elf
118 elf_end(this->elf);
119 // Close file
120 elf_file.close();
121}
122
123void ProgramLoader::to_memory(Memory *mem) {
124 // Load program to memory (just dump it byte by byte)

Callers

nothing calls this directly

Calls 2

elf_endFunction · 0.85
closeMethod · 0.80

Tested by

no test coverage detected