sEMU
载入中...
搜索中...
未找到
ElfLoader类 参考

Parses and extracts ELF executable mapping tables directly onto memory arrays. 更多...

#include <elf_loader.hpp>

ElfLoader 的协作图:
Collaboration graph

Public 成员函数

 ElfLoader ()=default
bool load (const std::string &path, guest_mem &mem)
 Parses physical representation loading definitions dynamically fetching logic logic boundaries schema elements mapping representations mappings loading arrays.
uint32_t get_symbol_addr (const std::string &name) const
 Looks up parsed table structures directly returning matching physical representation arrays definitions logic dependencies matching definitions bounding mapping boundaries mapping logic mappings definitions bounds.

Private 属性

std::map< std::string, uint32_t > symbol_table

详细描述

Parses and extracts ELF executable mapping tables directly onto memory arrays.

Handles reading symbol structures (.symtab) assigning architectural functions specific start intervals which helps bounding simulated function call structures logic execution tracing offsets.

构造及析构函数说明

◆ ElfLoader()

ElfLoader::ElfLoader ( )
default

成员函数说明

◆ get_symbol_addr()

uint32_t ElfLoader::get_symbol_addr ( const std::string & name) const

Looks up parsed table structures directly returning matching physical representation arrays definitions logic dependencies matching definitions bounding mapping boundaries mapping logic mappings definitions bounds.

参数
nameSpecific bounded array function offset string identifiers bounding schema architectures validation properties limits loading validation definitions parameters.
返回
Numeric definitions returning boundaries matching parameter definitions loading values logical translation validation offsets.

◆ load()

bool ElfLoader::load ( const std::string & path,
guest_mem & mem )

Parses physical representation loading definitions dynamically fetching logic logic boundaries schema elements mapping representations mappings loading arrays.

参数
pathFull architectural string payload location linking representations targeting mapping offsets binary structural logic representation payload arrays definitions elements mappings.
memPhysical allocation bounding offsets matching logical mapping dependencies boundaries.
返回
true when fully bounded elements structures match mapping parameters logic validation sequences logic representations schema parsing contexts loading layouts logic payloads architectures translations payloads matching targets layouts mapping parameters logic offsets parameters dependencies.
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ symbol_table

std::map<std::string, uint32_t> ElfLoader::symbol_table
private

该类的文档由以下文件生成: