Working with the control flow graph
When you work
with the control graph, you can:
- Change the structure When you change the structure, ASMPUT adds
or removes nodes and arcs.
- Expand or collapse layers; see Expanding and collapsing layers When you expand a layer, ASMPUT converts a three-dimensional node into component nodes and arcs. (Three-dimensional and two-dimensional nodes are explained in Control Flow Graph window.)
- Add or remove context; see Adding and removing context When
you remove context, ASMPUT no longer displays the nodes that are not
directly related to the selected node. These nodes are
removed context
. - Rrefresh or redo; see Refreshing and redoing When you refresh the control flow graph, ASMPUT redraws the top level graph as if you had just opened the Control Flow Graph window. When you redo the control flow graph, ASMPUT redraws the current control flow graph, adjusting the zoom level so that the entire control flow graph fits in the control flow graph area.
- Change the appearance When you change the appearance, the structure
of the control flow graph remains the same, but ASMPUT hides or shows
elements, or changes their color.
- Hide or show return arcs; see Hiding and showing return arcs The return arcs show returns from calls.
- Mark or unmark nodes; see Marking and unmarking nodes A marked node is colored yellow, and remains yellow if expanded or collapsed.
- Change the view When you change the view, you make the nodes larger
(for easier viewing) or smaller (to see the larger picture), or you
look at a different part of the control flow graph.
- Open and close the Overview window; see Opening and closing the Overview window The Overview window shows a small copy of the control flow graph. By moving and resizing the area box, you can zoom and scroll.
- Zoom in and out; see Zooming Zooming changes the size of the nodes, but not the structure or appearance of the control flow graph.
- Scroll; see Scrolling Scrolling changes the part of the control flow graph displayed in the control flow graph area.
- Interact with source code; see The interaction between source code and the control flow graph When you click on a node, the code corresponding to the node is highlighted in the source code area.
The colors of the nodes and the meaning of name prefixes are explained in Control Flow Graph window.
See also Introducing ASMPUT