go-callvis
go-callvis copied to clipboard
Visualize call graph of a Go program using Graphviz
I was getting the same as #115: ``` panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte ``` but found that updating `golang.org/x/tools` seemed to fix it. Still just...
Unable to generate call graph ```log $ go-callvis main.go panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte goroutine 3336 [running]: golang.org/x/tools/go/ssa.emitConv(0xc014ef7900, {0xb8b0d8, 0xc020b80600}, {0xb86bb8?, 0xc00b8da4c0}) /home/chenchong/.local/pkg/mod/golang.org/x/[email protected]/go/ssa/emit.go:242 +0x7c7 golang.org/x/tools/go/ssa.(*builder).expr0(0xa2b440?,...
Output of current version of go-callvis: ```shell $ go-callvis -version v0.6.1 built from git v0.6.1-11-g06b3e4b $ go-callvis -nointer -nostd -debug ./... panic: T goroutine 5906 [running]: golang.org/x/tools/go/ssa.(*Program).needMethods(0xc01f0644e0, {0xba6ec0?, 0xc021bac690?}, 0x0)...
"make install " show error go install -tags "" -ldflags "-X main.commit=v0.6.1-4-g71bdc75" # github.com/goccy/go-graphviz/internal/ccall In file included from common.c:22: common/taper.c:258: error: redefinition of typedef ‘radfunc_t’ common/emit.c:2241: note: previous declaration of...
I use `go-callvis` in moby/moby: 19.03 project on Ubuntu 20.04, but the result is as follows. ``` $ pwd /home/jason/GOPATH/src/github.com/docker/docker/cmd/dockerd $ go-callvis -limit github.com/docker/docker -ignore github.com/docker/docker/vendor github.com/docker/docker/cmd/dockerd [2] 5462 killed...
My project uses go modules. There is only one package `main` and Id like to get a callgraph for my project, my directory structure is as such > vendor >...