callgraph: compute callgraph of called function

Known issue: '__main__' is part of the call graph.