awslabs / ar-go-tools

ar-go-tools (Argot) is a collection of analysis tools for Go
Apache License 2.0
5 stars 1 forks source link

Structs in Channels in Escape Analysis #63

Open amzn-jasonrk opened 3 months ago

amzn-jasonrk commented 3 months ago

The escape analysis does not currently support direct structs in channels, such as chan struct{int*}. (It does support channels of pointers such as chan *int). Most channels with structs appear to be chan struct{}, which doesn't present any soundness issues, but channels of structs should be fully supported.

github-actions[bot] commented 2 weeks ago

Stale issue message

victornicolet commented 2 weeks ago

@amzn-jasonrk do you have a fix pending for this?