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.