Created
September 14, 2020 14:10
-
-
Save drrost/348334b385662fb7dfd0005b223d3a0c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void *callstack[128]; // 1 | |
int frames = backtrace(callstack, 128); // 2 | |
char **strs = backtrace_symbols(callstack, frames); // 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment