Skip to main content
Version: 4.x

Disassembly control flow analysis

The section introduce how to generate disassembly control flow graph in ZSolution.

Disassembly file

Right-click the executable file and select the Disassemble option in the context menu to generate .S disassembly file.

Disassembly control flow graph

Disassembly control flow graph visually represents all the paths a program may traverse during execution. In the graph, it shows the possible flow between basic blocks, helping to observe the internal structure, logic, and execution process of the code

Right-click the executable file and select the Open Interactive Disassembly Control Flow Graph option in the menu, the disassembly control flow graph will be opened in editor:

You can explore the disassembly control flow graph by :

  1. Click the function name in the FUNCTION LIST to switch the disassembly control flow graph.
  2. Double-click block to get the next node according to the function relationship, that is the execution flow of Jump. You can also observe orderly execution flow from No Jump's arrow.
  3. Type Control+Shift+= or right click the graph and select Zoom In to zoom in.
  4. Type Control+Shift+- or right click the graph and select Zoom out to zoom out.
  5. Right-click the graph and select Update to reload the view.
Explore the disassembly control flow graph