17 lines
366 B
C++
Executable File
17 lines
366 B
C++
Executable File
#include "logic.hpp"
|
|
#include "irdb-transform"
|
|
|
|
ForwardFileOpen::ForwardFileOpen(FileIR_t *p_variantIR)
|
|
: Transform_t(p_variantIR) {}
|
|
|
|
bool ForwardFileOpen::execute() {
|
|
const auto insts = getFileIR()->getInstructions();
|
|
|
|
cout << "Hello World!" << std::endl;
|
|
|
|
for (auto &inst : insts) {
|
|
cout << inst->getDisassembly() << std::endl;
|
|
}
|
|
|
|
return true;
|
|
} |