call-graph

C/C++ call-graph utility for Windows platform [closed]

时间秒杀一切 提交于 2019-12-18 11:44:54
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I have a large 95% C, 5% C++ Win32 code base that I am trying to grok. What modern tools are available for generating call-graph diagrams for C or C++ projects? 回答1: Have you tried SourceInsight's call graph feature? http://www.sourceinsight.com/docs35/ae1144092.htm 回答2: Have you tried doxygen and codeviz ?

Application to generate Java class hierarchy diagram [closed]

泄露秘密 提交于 2019-12-18 01:06:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Looking for a tool that: Produces a visually pleasing (not garish), orthogonally structured graph hierarchy Outputs high-quality PNG images (300dpi+) Visually differentiates classes, abstract classes, interfaces, and enumerated types (preferably by colour) Interactive user interface Allows pruning of packages

Application to generate Java class hierarchy diagram [closed]

强颜欢笑 提交于 2019-12-18 01:05:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Looking for a tool that: Produces a visually pleasing (not garish), orthogonally structured graph hierarchy Outputs high-quality PNG images (300dpi+) Visually differentiates classes, abstract classes, interfaces, and enumerated types (preferably by colour) Interactive user interface Allows pruning of packages

Android debug traces do not contain application specific method calls

谁说胖子不能爱 提交于 2019-12-13 02:18:25
问题 I am trying to generate trace files for applications using the Debug.startMethodTracing (on the activity onCreate) and Debug.stopMethodTracing (on the activity onDestroy) according to the following documentation http://developer.android.com/tools/debugging/debugging-tracing.html#creatingtracefiles. I run the application on a physical device and it successfully creates the trace file. Later I run dmtracedump on them to generate a call-stack diagram, but it does not contain any of my

OPAL-Regarding implementing construct call graph in OPAL

蹲街弑〆低调 提交于 2019-12-12 04:27:53
问题 In Paper [A Software Product Line for Static Analyses(2014)], there is an illustration related constructing call graph(Listing7). In this example, Line14 is related to construct call graph. while i check the src code and API, what i could find is DefaultCHACallGraphDomain.scala which has no implementation of construct call graph. As my purpose is using OPAL to construct call graph. Is there any demo or documents help me understanding existing CallGraphDomain in OPAL? currently, i can only

Customizable static call graph for Eclipse?

折月煮酒 提交于 2019-12-11 10:26:27
问题 Is there some sort of API or plugin that allows me to first generate a call graph for a java project in Eclipse and to customize specific aspects, such as color, of individual methods within the graph? I'm trying to implement a plugin that creates a call graph that has been tweaked based on outside input. Thanks 回答1: Your right: there is an plugin on sourceforge (http://www.theserverside.com/news/1364402/Code-Analysis-with-the-Eclipse-Profiler). You can download the sources and you can

Customizable Static Java Call-Graph generator?

本小妞迷上赌 提交于 2019-12-11 01:01:36
问题 I have to refactor and maintain a bunch of horrible similar looking Java classes. Many have the following implementation pattern class Machine { public int advance(int state) { switch(state) { case 7: return step_7(); case 13: return step_13(); case 4: return step_4(); } } private int step_7() { if(something) return 13; else return 4; } private int step_13() { ... return 4; } private int step_4() { if(miep) return 7; ... return 13; } } And from this I'd like to generate a graph (with Graphviz

iOS project: Static/Dynamic code analysis and call graphs

旧街凉风 提交于 2019-12-10 17:01:27
问题 I am looking for some handy code analysis tools for iOS projects, esp. to do static analysis, dynamic analysis and generate call graphs. In my investigation so far, I found Dtrace as explained here and here Clang as explained here Doxygen as explained here Are there any other open source tools available for my case that I miss? Also has anyone tried any of the above ones successfully for objective-c iOS projects? Thanks 回答1: Are you not satisfied yet with the built-in XCode analyzer (Product

Why do I see edges in the call graph that don't exist using gperftools?

限于喜欢 提交于 2019-12-10 10:36:20
问题 Given the following code that either calls f or g #include <stdlib.h> #include <stdio.h> int f() { return 0; } int g() { return 1; } int main() { long sum = 0; for(int i = 0; i < 1000*1000*1000; i++) { int result; if(rand() % 2 == 0) { result = f(); } else { result = g(); } sum += result; } printf("%ld\n", sum); } I compile with g++ test.c -o doom -lprofiler -lunwind And run with CPUPROFILE=./test.txt ./test And then generate a gif with pprof --gif ./test ./test.txt > output.gif I get the

How to generate call graph from android APK?

醉酒当歌 提交于 2019-12-09 07:11:26
问题 I have downloaded a few Android applications from Google Play. I have got Smali code through reverse engineering tool apktool .I want to generate call graphs for these applications. I have seen many links on stack overflow and Google, most of the suggested tools are either for c/c++ or if they are for Java , they need source code which I don't have, of course. Is there any way to generate call graphs automatically? Thanks. 回答1: apkinspector - http://code.google.com/p/apkinspector/ The goal of