loov / goda

Go Dependency Analysis toolkit
MIT License
1.37k stars 45 forks source link

goda weight: unable to find type in sym #68

Closed howardjohn closed 1 year ago

howardjohn commented 1 year ago

Steps to reproduce:

git clone --depth 1 https://github.com/istio/istio
cd istio
go build -o now ./pilot/cmd/pilot-discovery
goda weight -h now 

Result:

loading syms failed: failed to parse: unable to find type in sym: "       0          0 _ "

This is from go version go1.20 linux/amd64 with goda from master

egonelbre commented 1 year ago

Thanks for the report, should be fixed now. Let me know if you encounter any other issues or wishes.

howardjohn commented 1 year ago

Awesome, thanks for the quick fix + great tool! Works perfectly now.