--- layout: fc_discuss_archives title: Message 20 from Frama-C-discuss on January 2012 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Caller-callee relationship from source file



Hello,

Le 17/01/2012 08:28, Shakthi Kannan a ?crit :
> Is there a way to view/get the caller-callee relationship
> for each function in a .c file from the command line?

With [frama-c -help], you can see that there are 2 plug-ins about 
callgraphs :

semantic callgraph  semantic stratified callgraph;
                     use -scg-help for specific options.
syntactic callgraph  syntactic stratified callgraph;
                     use -cg-help for specific options.

In both, you have an option that :
   dump the semantic stratified callgraph to the file
   <filename> in dot format

Isn't it what you are looking for ?

Hope this helps,
-- 
Anne.