Back to / cmd / restructure

Command restructure

Latest Go to latest

The latest major version is .

Published: Jun 9, 2020 | License: Unlicense | Module:


The restructure tool recovers control flow primitives from DOT control flow graphs (*.dot -> *.json).

The input of restructure is a Graphviz DOT file, containing the unstructured control flow graph of a function, and the output is a JSON stream describing how the recovered high-level control flow primitives relate to the nodes of the control flow graph.


restructure [OPTION]...


-entry string
      entry node of the control flow graph
      indent JSON output
-o string
      output path
-q    suppress non-error messages
  	output intermediate control flow graphs at each step
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier