Question

In Visual Studio you can display the Call hierarchy of a single function. What I'm looking for is the same functionality but accessible from inside C# code.

Is it possible to use some API's through a self written Visual Studio Plugin? Or can I access some libraries directly to make the code analysis?

It would be enough for me to get the CFG of the program through some static code analysis.

Was it helpful?

Solution

Found FxCop fits my needs to get the call stack.

It's shipped with VS Professional and Ultimate and part of the windows SDK.

I'm still looking for a full controllflow graph implementation but thats another questions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top