Per https://pkg.go.dev/unsafe#Pointer conversions from unsafe.Pointer to uintptr are only safe in limited circumstances. In particular only conversions made in the syscall call are pinned. Additionally add a call to runtime.KeepAlive to mitigate the bug described in: https://github.com/golang/go/issues/58351 |
||
|---|---|---|
| .. | ||
| astutil | ||
| config | ||
| dwarf | ||
| elfwriter | ||
| gobuild | ||
| goversion | ||
| locspec | ||
| logflags | ||
| proc | ||
| terminal | ||
| version | ||