Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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,