go-ssaviz

command module
v0.0.0-...-c06eb33 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

go-ssaviz

cover

Visualize Go SSA function using Graphviz.

Introduction

This tool provides a visual overview of Go SSA function using Graphviz. This is especially useful in SSA-based static analysis.

Features

Requirements

  • Go 1.18
  • Graphviz (You should have dot command in your $PATH)

Usage

Install go-ssaviz CLI tools:

$ go install github.com/SilverRainZ/go-ssaviz@latest

You should make sure GOBIN (usually ~/go/bin) is in your $PATH. Then:

$ cd path_to_your_go_package
$ go-ssaviz ./...

A report file ssaviz.html will be generated in the current directory. See output of go-ssaviz -help for more details.

Go Packages

We also provides a separated Go package:

$ go get -u github.com/SilverRainZ/go-ssaviz/pkg/ssaviz

See godoc for more details.

Contact

Author: Shengyu Zhang

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
ssaviz
Package ssaviz helps user to visualize SSA function.
Package ssaviz helps user to visualize SSA function.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL