|Cobra||Interactive Query Language||cfg|
NAMEcfg — generate the control-flow graph of a function
DESCRIPTIONGenerate the control-flow graph for the named function, provided (1) that the function is defined only once, and (2) that all its compound statements are enclosed in curly braces.
The graph is displayed with dot as a background command. The numbers of edges and nodes in the control-flow graph, as well as the cyclomatic complexity of the function are also printed.
To preserve the file in which the graph is temporarily stored, use command-line option -preserve when starting the cobra session.
: cfg f
SEE ALSOfcg, fcts, ff, ft
Return to index
|(Last Updated: 8 May 2017)|