{"id":15723821,"url":"https://github.com/silverrainz/go-ssaviz","last_synced_at":"2025-05-06T21:08:13.257Z","repository":{"id":120111642,"uuid":"606615381","full_name":"SilverRainZ/go-ssaviz","owner":"SilverRainZ","description":"Visualize Go SSA function using Graphviz","archived":false,"fork":false,"pushed_at":"2023-03-29T05:04:07.000Z","size":96,"stargazers_count":50,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T21:08:04.997Z","etag":null,"topics":["golang","graphviz","linter","ssa","static-analysis"],"latest_commit_sha":null,"homepage":"https://silverrainz.me/go-ssaviz/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SilverRainZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-26T02:35:52.000Z","updated_at":"2024-05-16T03:30:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"b1aa063f-8cad-4410-a401-8ee630a7470d","html_url":"https://github.com/SilverRainZ/go-ssaviz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilverRainZ%2Fgo-ssaviz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilverRainZ%2Fgo-ssaviz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilverRainZ%2Fgo-ssaviz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SilverRainZ%2Fgo-ssaviz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SilverRainZ","download_url":"https://codeload.github.com/SilverRainZ/go-ssaviz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769421,"owners_count":21801378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","graphviz","linter","ssa","static-analysis"],"created_at":"2024-10-03T22:13:28.638Z","updated_at":"2025-05-06T21:08:13.231Z","avatar_url":"https://github.com/SilverRainZ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-ssaviz\n\n![cover](pkg/ssaviz/testdata/svg/buildHTML.svg)\n\nVisualize Go SSA function using Graphviz.\n\n## Introduction\n\nThis tool provides a visual overview of Go SSA function using Graphviz. This is especially useful in SSA-based static analysis.\n\n## Features\n\n- [x] Visualize [Control-flow Graph (CFG)](https://en.wikipedia.org/wiki/Control-flow_graph)\n- [ ] Visualize [Dominator Tree](https://en.wikipedia.org/wiki/Dominator_(graph_theory))\n- [ ] SSA instruction alignment and syntax highlight\n- [ ] Drag to browse\n\n## Requirements\n\n- Go 1.18\n- Graphviz (You should have `dot` command in your `$PATH`)\n\n## Usage\n\nInstall go-ssaviz CLI tools:\n\n```console\n$ go install github.com/SilverRainZ/go-ssaviz@latest\n```\n\nYou should make sure `GOBIN` (usually `~/go/bin`) is in your `$PATH`.\nThen:\n\n```console\n$ cd path_to_your_go_package\n$ go-ssaviz ./...\n```\n\nA report file `ssaviz.html` will be generated in the current directory.\nSee output of `go-ssaviz -help` for more details.\n\n### Go Packages\n\nWe also provides a separated Go package:\n\n```console\n$ go get -u github.com/SilverRainZ/go-ssaviz/pkg/ssaviz\n```\n\nSee [![godoc](https://pkg.go.dev/badge/github.com/SilverRainZ/go-ssaviz/pkg/ssaviz)](https://pkg.go.dev/github.com/SilverRainZ/go-ssaviz/pkg/ssaviz) for more details.\n\n## Contact\n\nAuthor: [Shengyu Zhang](https://silverrainz.me)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverrainz%2Fgo-ssaviz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilverrainz%2Fgo-ssaviz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilverrainz%2Fgo-ssaviz/lists"}