Cflow Usage Details

Source: Internet
Author: User

Cflow Usage Details

Cflow has recently been used. According to the help provided by Cflow, the usage of cflow is detailed. Paste the usage of Common commands. Full version see http://download.csdn.net/detail/hanchaoqi/8136111

12. Complete list of cflow options

This chapter lists all cflow options in alphabetical order, including a brief description. All long and short options are listed, so you can use this table as a quick reference.
Most options correspond to negative options in the opposite sense. The naming of negative options is to add the prefix no-to the corresponding long options. This feature is used to cancel the options defined in the configuration file.
-A (-- ansi)
Assume that the input file is written in ansi c. Currently, this means that the function declared by K & R cannot be parsed. This can speed up processing in some cases.
-B (-- brief)
Brief output
-- Cpp [= command]
Run the specified preprocessing command
-D name [= defn] (-- define = name [= defn])
The predefined name is used as a macro.
-D number (-- depth = number)
Sets the maximum number of nested layers in a flow chart.
-- Debug [= number]
Set the debugging level. The default value is 1. You can use this option when developing or debugging cflow.
-- Emacs
Tell Emacs to use cflow mode for output when accessing the file.
-F name (-- format = name)
Use the given output format name. Valid names are gnu and posix.
-? (-- Help)
Help to briefly describe each option.
-I dir (-- include-dir = dir)
Add the directory where the header file is located when you search for the header file.
-I spec (-- include = spec)
Control the number of symbols contained. Spec is a string that specifies which type of symbols should be included in the output. Valid characters:
-^ Exclude followed characters in the output
+ The output contains followed characters (default)
_ A symbol starting with an underscore
S static symbol
T type definition (used only for cross-reference)
X all data symbols, including external and static symbols
-L
-- Level-indent = string specifies the string used for each level of indentation
-M name (-- main = name) indicates the name of the function to be called at the beginning.
-N (-- number) print the row number
-O file (-- output = file) specifies the output file. The default value is '-', that is, standard output.
-- Ommit-arguments does not print the parameter list in the function declaration.
-- Omit-symbol-names does not print the specified symbol name, which is available in posix mode.
-R (-- reverse) prints the reverse call Diagram
-X (-- xref) only generates the cross reference list
-P number (-- pushdown = number) initializes the size of the token stack. The default value is 64. The token stack will automatically increase, so this option is rarely used.
-- Preprocess [= command] Use preprocessing
-S sym: class
-- Symbol = sym: class
-- Symbol = newsym: = oldsym
First, register the sym symbol in the syntax class. The valid category names are 'keyword' (or 'kw '), 'modifier', 'qualifier', 'identifier', 'type', and 'wrapper '. Any definite abbreviations are acceptable.
The second form (separated by ': =') defines newsym as the alias of oldsym.
-S (-- use-indentation) uses the file indent as a prompt. Currently, this means that the right braces ('}') end the current function definition in the 0-power cflow system. Parsing with this option may cause some misunderstandings.
-U name (-- undefine = name) cancels the previous name Definition
-L (-- print-level) prints the number of nested layers. The layers are printed at the end of the output line (if -- number or -- format = posix is used, the layers are enclosed in braces ).
-T (-- tree) uses ASCII code to print and call the tree.
-- Usage provides brief usage information.
-V (-- verbose) prints all error messages in detail. The error information in cflow is different from that in c compiler, so this option is disabled by default.
-V (-- version) prints the version information of the program.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.