find out the origin of function calls
- by user560343
Hi all,
I wonder if there is a software that can help us determine all possible origins of a function call.
For example:
/* in file f1.c */
int f1() {
x_func();
}
/* in file f2.c */
int f2() {
x_func();
}
If we want to trace the origin of all function calls to x_func(), the output will be:
f1.c:f1()
f2.c:f2()
This is very useful when reading the source code.
All answers are appreciated. Thank in advance :D