% avrora -help cfg
Avrora [Beta 1.4.0] - (c) 2003-2005 UCLA Compilers Group
Usage: avrora [-action=action] [options]
Usage: avrora -help [action]
OVERVIEW
Avrora is a tool for working with assembly language programs for the AVR
architecture microcontrollers. It contains tools to read AVR programs in
multiple formats, perform actions on them, and generate output in multiple
formats.
Typical usage is to specify a list of files that contain a program in some
format supported by Avrora and then specifying the action to perform on that
program. For example, giving the name of a file that contains a program
written in assembly language and a simulate action might look like:
avrora -action=simulate -input=atmel program.asm
Other actions that are available include giving a listing of the program
or running one of the analysis tools on the program. See the actions section
for more information.
HELP FOR THE "cfg" ACTION
The "cfg" action builds and displays a control flow graph of the given
input program. This is useful for better program understanding and for
optimizations. The graph can be outputted in a textual format, or the format
supported by the "dot" graph tool.
OPTIONS
Below is a listing of the options available to the "cfg" action.
-collapse-procedures: boolean = false
This option is used when outputting in the "dot" output
format. When this option is true, the control flow graph
utility will attempt to discover procedures within the control
flow graph and collapse whole procedures to a single node in
the output.
-color-procedures: boolean = true
This option is used when outputting in the "dot" output
format. When this option is true, the control flow graph
utility will attempt to discover procedures and color them in
the output.
-file: string =
This option specifies the output file for the result of
generating a"dot" format control flow graph. When this option
is not set, a textual representation of the graph will be
printed to the terminal.
-group-procedures: boolean = true
This option is used when outputting in the "dot" output
format. When this option is true, the control flow graph
utility will attempt to discover procedures and group them as
subgraphs in the output.
-output: string =
This option selects the output format for the control flow
graph. When this option is set to "dot", then the control flow
graph will be outputted in a format suitable for parsing by
the dot graph rendering tool.
For more information, see the online documentation:
http://compilers.cs.ucla.edu/avrora
% _
|