13 lines
184 B
C
13 lines
184 B
C
#include <stdio.h>
|
|
#include <execinfo.h>
|
|
|
|
void call_backtrace(){
|
|
void * callstack[128];
|
|
backtrace(callstack, 128);
|
|
}
|
|
|
|
int main(){
|
|
call_backtrace();
|
|
return 0;
|
|
}
|