sEMU
载入中...
搜索中...
未找到
elf_loader.hpp
浏览该文件的文档.
1#pragma once
2
3#include <string>
4#include <map>
5#include <cstdint>
6
7class guest_mem;
8
15class ElfLoader {
16private:
17 std::map<std::string, uint32_t> symbol_table;
18
19public:
20 ElfLoader() = default;
21
28 bool load(const std::string& path, guest_mem& mem);
29
35 uint32_t get_symbol_addr(const std::string& name) const;
36};
ElfLoader()=default
bool load(const std::string &path, guest_mem &mem)
Parses physical representation loading definitions dynamically fetching logic logic boundaries schema...
定义 elf_loader.cpp:12
uint32_t get_symbol_addr(const std::string &name) const
Looks up parsed table structures directly returning matching physical representation arrays definitio...
定义 elf_loader.cpp:70
std::map< std::string, uint32_t > symbol_table
定义 elf_loader.hpp:17
内存子系统抽象层 (Guest Memory Subsystem)
定义 mem.hpp:29