Improved symbol table + every process have one allocated

This commit is contained in:
Alex
2022-12-10 06:01:01 +02:00
parent 6d58f04f1f
commit a56f633709
6 changed files with 68 additions and 40 deletions

View File

@ -5,14 +5,18 @@ namespace SymbolResolver
{
class Symbols
{
public:
private:
struct SymbolTable
{
uint64_t Address;
char *FunctionName;
};
Symbols(uint64_t Address);
SymbolTable SymTable[0x10000];
uint64_t TotalEntries = 0;
public:
Symbols(uint64_t ImageAddress);
~Symbols();
const char *GetSymbolFromAddress(uint64_t Address);
};