Questions tagged [call-graph]

A Call-Graph is a visual representation of calls between functions/procedures/methods etc. Typically created from the entry point of the code through each of the calls.

A Call-Graph is a useful tool in researching problems in your code. By seeing a visual reference of the order calls are performed, it allows the individual to trace back to a piece of code quicker. This allows them to test data output in various points faster by reducing the number of files that will have to be opened and searched to track this data manually.

Questions with this tag would include:

  1. How to build a call-graph in a particular language.
  2. Understanding a particular call-graph. This should generally include a visual reference.

Additional information about call graphs can be found on Wikipedia under the entry Call_Graph

217 questions
0
votes
1 answer

Java NoClassDef found error when executing via terminal

I am trying out a Digital Signature project with Microsoft Azure blob storage. I built the project using Eclipse Neon and it is executing perfectly. I want to execute java-callgraph for the same project so that I get to know the run time…
0
votes
1 answer

Reading COBOL code with .NET to generate a call graph

I am working on a project to automate COBOL to generate a class diagram. I am developing using a .NET console application. I need help tracking down the procedure name where the perform statement in used in the below example. …
sandy
  • 307
  • 2
  • 3
  • 7
0
votes
0 answers

Using java call graph how to get the intermediate data between method calls

For the below code, calling Add method from Calculator main method, the data passed is 1, 2. I need the data passing between the method calls. I was able to get the callgraph. Can any one help me how to get intermediate data in java Screenshot -…
0
votes
1 answer

How can I run this android project by using eclipse?

I want to compile and run the project (Signal-Android : Openwhisper) by using Eclipse. Is there anyway to do that? (the reason that I have to use Eclipse because of its add-on 'call graph viewer'. I want the call graph of the project. If anyone has…
kise
  • 19
  • 4
0
votes
1 answer

Need help understanding kcachegrind

I'm trying to understand kcachegrind, there doesn't seem to be much information out there, for example, on the left window, what is "Self", What is "incl."? (see 1 core ). I've done some weak scaling tests, there is no communication, so my guess is…
datguyray
  • 131
  • 7
0
votes
1 answer

How to identify the bottlenecks with Xhprof?

I have an issue with a very slow API call and want to find out, what it caused by, using Xhprof: the default GUI and the callgraph. How should this data be analyzed? What is the approach to find the places in the code, that should be optimized, and…
automatix
  • 14,018
  • 26
  • 105
  • 230
0
votes
1 answer

Call graph of apk using JAVA program

I want to create a JAVA program that takes apk files(present in the computer) as input and than return its call graph as output. I want to do it on windows platform and write the program in JAVA Please suggest some ways to do so. I read about soot,…
mjennet
  • 75
  • 1
  • 10
0
votes
2 answers

Find links/relationships between 2 variables/objects in the code

EDIT: I found that doxygen can generate call graphs for classes, but I could not find any options or examples where the call(er) graph is generated for public/private members of the class(es) such as fields, methods, etc.? See the example that I…
denfromufa
  • 5,610
  • 13
  • 81
  • 138
0
votes
1 answer

How to access pycharm code inspectors internals

I am using Pycharm for writing my code and would like to access the internals of it's inspectors to pull out the static call graphs for my program (something that Pycharm is already doing in my understanding in order to perform autocompletion and…
chiffa
  • 2,026
  • 3
  • 26
  • 41
0
votes
1 answer

Call hierarchy with calls from dependencies in Netbeans

Is it possible in Netbeans to show method calls from dependencies? Example: Project A depends on project B (It's gradle dependency, source is downloaded). Project A has Interface ClassX with methodX(). Project B implements it and passes it as some…
barteks2x
  • 1,275
  • 12
  • 24
0
votes
1 answer

AST generation for a an application developed both in visual basic and c#

I'm currently understanding one application developed both in visual basic and c#. Running through the code is getting tough as code is around 50KLOC. So I'm planning for generation of AST (abstract syntax tree). Will it be possible to generate for…
Dev
  • 1
0
votes
2 answers

Doxygen, generate only callgraph

I tried Doxygen on a sample project from GIT. I was able to create documentation with navigation panel but I need doxygen to generate only the callgraph. Is is possible to do this?
Dinesh
  • 1,825
  • 5
  • 31
  • 40
0
votes
1 answer

call graph for MySQL sessions

I am trying to create a valgrind (cachegrind) analysis of MySQL client connections. I am running valgrind with --trace-children=yes. What I want to find is one of the internal method calls, to see the call graph when it is being used... After…
evenro
  • 2,626
  • 20
  • 35
0
votes
0 answers

What is the BCEL Instruction to read my desired code block

I am developing a call method using Bcel.But i couldn't reach getTweets function.It stops after ActionListener.What is the instruction for it? Here is how i read instructions: for (InstructionHandle ih = mg.getInstructionList().getStart(); …
cyo
  • 193
  • 2
  • 4
  • 17
0
votes
0 answers

Call-graph analysis: How to find out if method CA#ma eventually calls CB#mb

Say I have a java project consisting of too many classes. There is an entry-point method that calls other methods defined in other classes, which in turn call other methods. Given an entry point and target candidate(s), I want to see all possible…
Ralf H
  • 1,392
  • 1
  • 9
  • 17
1 2 3
14
15