1 #ifndef LOADER_LOADER_H_
2 #define LOADER_LOADER_H_
4 #include "ObjectFile.h"
5 #include "TypeDescription.h"
20 void Load(const std::string &file);
23 void LoadExports(char *src, Export *begin, Export *end);
24 void LoadExternals(char *src, External *begin, External *end);
25 void LoadObjects(char *src, Object *begin, Object *end);
26 void LoadObject(char *src, char *dest, const TypeDescription &);
29 std::map<std::string, char *> objectFiles;
30 std::map<std::string, LoadedExport> exports;