Manual Reference Pages - CGRAPH (1)
- build call graphs from C files
utility reads C source code files and prints call graphs from their
The following options are supported:
Exclude ANSI C keywords. All globals and functions defined by the ANSI C
standard are ignored.
Print all calls within a function, including subsequent invocations of
the same function.
Exclude C99 keywords. All globals and functions defined by the C99
standard are ignored. This does not include the ANSI C standard, but
only new keywords of the C99 standard.
The depth at which the graph is cut off. The
argument must be a positive integer >=0.
Exclude GCC specific keywords. All keywords defined and used by the GNU
C compiler are ignored.
graph for graphviz output.
Increase the number of included symbols. The
argument can be one of the following characters:
Include external and static data symbols.
Include names that begin with an underscore.
Exclude POSIX keywords. All globals and functions defined by the
-p1003.1-2001 specification are ignored. This does not include the
ANSI C or C99 standards, but keywords of the
Print the flowgraph in reversed order, producing an inverted listing
showing the callers of each function.
The function to use as root function. The default is "main". If set to a
name, that cannot be found in the file, all functions are printed.
utility does not process any macro substitution, preprocessor conditions
directives, thus some calls within macros and function declarations
within header files are not processed correctly. Use the
utility if you want to have a better control over the flowgraph.
.An Marcus von Appen Aq firstname.lastname@example.org
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.