20#include "pedigree/kernel/debugger/commands/LookupCommand.h"
21#include "pedigree/kernel/linker/KernelElf.h"
22#include "pedigree/kernel/processor/types.h"
34 intptr_t n = input.intValue();
38 output.append(addr, 16);
40 output +=
"No symbol corresponding to given name";
47 output +=
"No symbol corresponding to given address.";
52 output +=
"' - symbol starts at ";
53 output.append(symStart, 16);
const char * lookupSymbol(uintptr_t addr, uintptr_t *startAddr, T *symbolTable)
static KernelElf & instance()
uintptr_t globalLookupSymbol(const char *pName)
bool execute(const HugeStaticString &input, HugeStaticString &output, InterruptState &state, DebuggerIO *screen)
void autocomplete(const HugeStaticString &input, HugeStaticString &output)