Back to godoc.org
github.com/decomp/decomp / cmd / restructure

Command restructure

v0.0.0-...-1e4053c
Latest Go to latest

The latest major version is .

Published: Jun 9, 2020 | License: Unlicense | Module: github.com/decomp/decomp

Overview

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.

Usage:

restructure [OPTION]... FILE.dot

Flags:

-entry string
      entry node of the control flow graph
-indent
      indent JSON output
-o string
      output path
-q    suppress non-error messages
-steps
  	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