#pragma once #include "../../Loader/Elf.h" #include /*this struct keeps neccesary info about loaded modules.Main executeable is included too as well*/ struct Module { Elf* elf = nullptr; }; class Linker { public: Linker(); virtual ~Linker(); Module* LoadModule(const std::string& elf_name); Module* FindModule(/*u32 id*/); private: std::vector m_modules; };