Uncovering the Hidden Dangers: Finding Unsafe Go Code in the Wild

We conducted an empirical study to understand how frequently the unsafe API is used in Go. We show that 38% of the analyzed projects directly use the unsafe API. Further, we introduce go-geiger and go-safer to assess usages of the API.

December 2020 · Johannes Lauinger, Lars Baumgärtner, Anna-Katharina Wickert, Mira Mezini