I need to find function calls in my C and C++ codes. When I was looking for some suitable software, I found CScope. It looks pretty well, the only problem is, that I can't find a way how to find just function calls with it.
0 Find this C symbol:
1 Find this function definition:
2 Find functions called by this function:
3 Find functions calling this function:
4 Find this text string:
5 Change this text string:
6 Find this egrep pattern:
7 Find this file:
8 Find files
I thought about finding all symbols (cscope -L0) and then removing definitions (cscope -L1), but it means, that codes will be parsed 2x and I'm afraid it's going to be too slow.
Is there any better, "original", way to do this with CScope?
Use the option -L3
to ask for functions that call a specific function.