11 lines
458 B
Markdown
11 lines
458 B
Markdown
|
---
|
||
|
title: "stack.h"
|
||
|
summary: "functions to extract data from the call stack"
|
||
|
---
|
||
|
|
||
|
# `stack_dump_call_info(rip, symbol)` - function (void)
|
||
|
Logs information about a call.
|
||
|
Give this function the **_rip_** of the call and the related **_symbol_**, to make it happy.
|
||
|
|
||
|
# `stack_trace_call_stack(rbp)` - function (void)
|
||
|
Analyses the stack and recursively dumps information about all calls until it hits a call to `_start` or fails to resolve the calls symbol name.
|