StackTracer: only trace frames within the kernel address space
This commit is contained in:
parent
d54ed0dc8b
commit
3a69551dcc
@ -20,7 +20,7 @@ typedef struct stackframe
|
|||||||
void StackTracer::trace()
|
void StackTracer::trace()
|
||||||
{
|
{
|
||||||
stackframe* frame = (stackframe*)m_base_pointer;
|
stackframe* frame = (stackframe*)m_base_pointer;
|
||||||
while (frame)
|
while (frame && (uint64_t)frame > 0xfffffffff8000000)
|
||||||
{
|
{
|
||||||
char symbol_name[512];
|
char symbol_name[512];
|
||||||
get_symbol_name(frame->instruction, symbol_name);
|
get_symbol_name(frame->instruction, symbol_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user