StackTracer: only show kernel addresses for now, until there are more checks
This commit is contained in:
parent
48d68a3e31
commit
bdf1bb15a1
@ -24,7 +24,7 @@ typedef struct stackframe
|
|||||||
void StackTracer::trace()
|
void StackTracer::trace()
|
||||||
{
|
{
|
||||||
stackframe* frame = (stackframe*)m_base_pointer;
|
stackframe* frame = (stackframe*)m_base_pointer;
|
||||||
while (frame && frame->instruction)
|
while (frame && frame->instruction && Memory::is_kernel_address(frame->instruction))
|
||||||
{
|
{
|
||||||
char symbol_name[512];
|
char symbol_name[512];
|
||||||
get_symbol_name(frame->instruction - sizeof(uintptr_t), symbol_name, sizeof(symbol_name));
|
get_symbol_name(frame->instruction - sizeof(uintptr_t), symbol_name, sizeof(symbol_name));
|
||||||
|
Loading…
Reference in New Issue
Block a user