tracing function with Graphviz


 
Thread Tools Search this Thread
Top Forums Programming tracing function with Graphviz
# 1  
Old 01-19-2009
tracing function with Graphviz

I was searching for a tool to trace the function flow to help me understand the code. I came across the article "visualize function calls with graphviz" by Tim Jones.
Visualize function calls with Graphviz

I was able to obtain the flow diagram for simple programs and also for the example program mentioned in the article.

But failed when tried to use for large project. I included instrument.c file in the Makefile under the list of source files to be compiled. instrument.o file was generated but trace.txt was not generated. Also included -g and -finstrument-functions..

CFLAGS = -g -finstrument-functions


Can anyone guide me, if you have used that tool...

Thanks,
Chandra
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. SuSE

GraphViz Help

I have a SLES 11(SP1) server that I am trying to install graphviz 2.28 on. Unfortunately that is not a comman combination, so I can't just use an RPM to install it, I have to build it from source. When doing so, when I configure it, I can't get it to recognize that pangocairo is actually... (4 Replies)
Discussion started by: cbo0485
4 Replies

2. Shell Programming and Scripting

Tracing a function call

Hi I am hoping someone can explain this to me as I am struggling to understand it. I had a problem today with needing to trace a ksh script that was dotting in a function that was writing to stdout. The problem was it was being run in a sub shell and the output was being parsed by the... (1 Reply)
Discussion started by: steadyonabix
1 Replies

3. Programming

Tracing Function Calls in a program

Apart from writing debug and statements in constructors is there any way by which we can trace the function call stack at any depth? The issue that we always face is that when program crashes (Web Server running on Linux) we have no idea where it crashes and we have to do the hard way of... (1 Reply)
Discussion started by: uunniixx
1 Replies

4. Shell Programming and Scripting

tracing in linux

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (2 Replies)
Discussion started by: shary
2 Replies

5. Linux

tracing

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (1 Reply)
Discussion started by: shary
1 Replies

6. SuSE

Installing graphviz

hi all, iam trying to install graphviz software on my linux box(suse linux). i downloaded rpm graphviz-2.9.20060521.0440-1.fc1.i386.rpm i'm using rpm --install graphviz-2.9.20060521.0440-1.fc1.i386.rpm but getting the errors warning: user ellson does not exist - using root warning: group... (1 Reply)
Discussion started by: wxwidgets
1 Replies
Login or Register to Ask a Question
SEMODULE_DEPS(8)							NSA							  SEMODULE_DEPS(8)

NAME
semodule_deps - show the dependencies between SELinux policy packages. SYNOPSIS
semodule_deps [-v -g -b] basemodpkg modpkg1 [modpkg2 ... ] DESCRIPTION
semodule_deps is a developer tool for showing the dependencies between policy packages. For each module it prints a list of modules that must be present for a module's requirements to be satisfied. It only deals with requirements, not optional dependencies. In order for semodule_deps to give useful information the list of packages passed in cannot have unsatisfied dependencies. In general this means that the list of modules will usually be quite long. By default options to the base module are excluded as almost every module has this dependency. The -b option will include these dependen- cies. In addition to human readable output, semodule_deps can output the dependencies in the Graphviz dot format (http://www.graphviz.org/) using the -g option. This is useful for producing a picture of the dependencies. OPTIONS
-v verbose mode -g output dependency information in Graphviz dot format -b include dependencies to the base module - by default these are excluded SEE ALSO
checkmodule(8), semodule_package(8), semodule(8), semodule_link(8) AUTHORS
This manual page was written by Karl MacMillan <kmacmillan@mentalrootkit.com>. The program was written by Karl MacMillan <kmacmillan@mentalrootkit.com>. Security Enhanced Linux June 2006 SEMODULE_DEPS(8)