x86_64/CPU: Skip null instruction pointers on stack trace generation
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c374c25523
commit
631cdd0204
@ -247,7 +247,7 @@ namespace CPU
|
||||
{
|
||||
StackFrame* current_frame = (StackFrame*)base_pointer;
|
||||
// FIXME: Validate that the frame itself is readable, might span across multiple pages
|
||||
while (current_frame && MemoryManager::validate_readable_page((u64)current_frame))
|
||||
while (current_frame && MemoryManager::validate_readable_page((u64)current_frame) && current_frame->instruction)
|
||||
{
|
||||
callback(current_frame->instruction, arg);
|
||||
current_frame = current_frame->next;
|
||||
|
Loading…
Reference in New Issue
Block a user