mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Improved symbol table + every process have one allocated
This commit is contained in:
@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user