I am looking for a tool that will report / resolve for every function all the call paths (call it “routes”).
For instance:
void deeper(int *pNumber)
{
*pNumber++;
}
void gateA(int *pNumber)
{
deeper(pNumber);
}
void gateB(int *pNumber)
{
gateA(pNumber);
}
void main()
{
int x = 123;
gateA(&x);
gateB(&x);
}
Cm? I need a tool that will tell me all the routes to the deeper () and, if possible, more.
By saying more, I mean that it will tell me if the pointer is the same as for the calling function.
It will save me a lot. Thank!
source
share