x/tools/cmd/ssadump: interpreting causes a crash #43163
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?I've tested both Go 1.15.5 and Go 1.14.
Does this issue reproduce with the latest release?
Yes, in the latest major release and with x/tools commit d93e913c1a5829629e8005c31b45b96a7b143a16.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have the following code in a directory named
const
:I run it with
ssadump -run .
when I'm in that directory (or alternativelyssadump -interp=RT -run .
).What did you expect to see?
I expect it to print "test".
What did you see instead?
It crashes:
What I really wanted to report was what appears to be a bug in either go/constant or x/tools/go/ssa, but I'm not sure how to reproduce this in an easy way with
ssadump
crashing on any program that I feed it.The text was updated successfully, but these errors were encountered: