2023-03-10 10:32:50 +00:00
|
|
|
// This file is part of noxos and licensed under the MIT open source license
|
2023-03-01 20:58:14 +00:00
|
|
|
|
|
|
|
#ifndef NOX_STACK_H
|
|
|
|
#define NOX_STACK_H
|
|
|
|
|
|
|
|
#include "utils/stdtypes.h"
|
|
|
|
#include "utils/symbol.h"
|
|
|
|
|
2023-05-28 19:06:06 +00:00
|
|
|
#include "drivers/builtin/elf/elf.h"
|
2023-03-01 20:58:14 +00:00
|
|
|
|
|
|
|
void stack_dump_call_info (uint64_t rip, symbol_T* symbol);
|
|
|
|
void stack_trace_call_stack (uint64_t rbp);
|
|
|
|
|
2023-06-01 09:40:12 +00:00
|
|
|
extern uint64_t stack_get_caller();
|
|
|
|
|
2023-03-01 20:58:14 +00:00
|
|
|
#endif //NOX_STACK_H
|