Hey,
Is there a way to know what functions were called by a program during it's execution ?
Say, I have a code, as follows
Here, the output should be something likeCode:#include <stdio.h> int main(void) { fun1(); fun2(); fun3(); return 0; } int fun1(){} int fun2(){fun2_1();} int fun3(){} int fun2_1(){}
Functions called are as follows
fun1()
fun2()
fun2_1()
fun3()
Is there an option on gcc for this ?
Bookmarks