#include <oskit/memdebug.h>void memdebug_store_backtrace(unsigned *backtrace, int max_len);
Stores a machine-specific back-trace in the provided buffer. In conjunction with the object code and the nm utility, the back-trace can provide a function call stack.
- backtrace
- A buffer of at least max_len unsigned ints.
- max_len
- Size of back-trace buffer.