EnglishFrenchSpanish

Ad


OnWorks favicon

cflow - Online in the Cloud

Run cflow in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cflow that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cflow - analyze control flow in C source files

SYNOPSIS


cflow [option...] file...

cflow {--help | --usage | --version | -V}

DESCRIPTION


This manual page documents briefly the cflow command.

This manual page was written for the Debian distribution because the original program does
not have a manual page. Instead, it has documentation in the GNU info(1) format.

GNU cflow analyzes a collection of C source files and prints a graph, charting control
flow within the program.

GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally
a cross-reference listing can be generated. Two output formats are implemented: POSIX and
GNU (extended).

Input files can optionally be preprocessed before analyzing.

OPTIONS


A summary of options is included below. For a complete description, see the info(1) files.

The program follows the usual GNU command line syntax, with long options starting with two
dashes (-). Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

The effect of each option marked with an asterisk is reversed if the option's long name is
prefixed with ‘no-’. For example, ‘--no-cpp’ cancels ‘--cpp’.

General options
-d, --depth=number
Set the depth at which the flowgraph is cut off.

-f, --format=name
Use given output format name. Valid names are ‘gnu’ (default) and ‘posix’.

-i, --include=classes
Include specified classes of symbols (see below). Prepend classes with ^ or - to
exclude them from the output.

Symbols classes:

_
symbols whose names begin with an underscore

s
static symbols

t
typedefs (for cross-references only)

x
all data symbols, both external and static

-o, --output=file
Set output file name. Default is -, meaning standard output.

-r, --reverse
* Print reverse call graph.

-x, --xref
Produce cross-reference listing only.

Parser control
-a, --ansi
* Accept only sources in ANSI C.

-D, --define=name[=defn]
Predefine name as a macro.

-I, --include-dir=dir
Add the directory dir to the list of directories to be searched for header files.

-m, --main=name
Assume main function to be called name.

-p, --pushdown=number
Set initial token stack size to number.

--preprocess[=command], --cpp[=command]
* Run the specified preprocessor command.

-s, --symbol=symbol:type
Register symbol with given type. Valid types are: ‘keyword’ (or ‘kw’), ‘modifier’,
‘identifier’, ‘type’, ‘wrapper’. Any unambiguous abbreviation of the above is also
accepted.

-S, --use-indentation
* Use source file indentation as a hint.

-U, --undefine=name
Cancel any previous definition of name.

Output control
-b, --brief
* Use brief output.

--emacs
* Additionally format output for use with GNU Emacs.

-l, --print-level
* Print nesting level along with the call graph.

--level-indent=string
Use string when indenting to each new level.

-n, --number
* Print line numbers.

--omit-arguments
* Do not print argument lists in function declarations.

--omit-symbol-names
* Do not print symbol names in declaration strings.

-T, --tree
* Draw ASCII art tree.

Informational options
--debug[=number]
Set debugging level.

-v, --verbose
* Verbosely list any any errors encountered in the input files.

-?, --help
Display help and exit.

--usage
Display short usage message and exit.

-V, --version
Display version information and exit.

Use cflow online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad