1 // See LICENSE for license details. 2 3 #ifndef _ELFLOADER_H 4 #define _ELFLOADER_H 5 6 #include "elf.h" 7 #include <map> 8 #include <string> 9 10 class memif_t; 11 std::map<std::string, uint64_t> load_elf(const char* fn, memif_t* memif, reg_t* entry); 12 13 #endif 14