github-vet / bots

Bots for running analysis on GitHub's public Go repositories and crowdsourcing their classification.
MIT License
1 stars 1 forks source link

Anonymous functions in pointerescapes #79

Open kalexmills opened 3 years ago

kalexmills commented 3 years ago

In debugging, I'm noticing that pointerescapes seems to be including empty function names in the SafePtrs list; perhaps from anonymous function calls. Analysis needs to be done to understand the impact of this; I think we want to disallow it.

kalexmills commented 3 years ago

https://github.com/github-vet/rangeloop-pointer-findings/issues/8131

^--- turns out this can actually be really weird.

kalexmills commented 3 years ago

https://github.com/github-vet/rangeloop-pointer-findings/issues/8119

^--- also check the graph of this; there's an anonymous function call.