mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 12:47:22 +08:00
The ebpf implementations uses cgo, but only to access some C struct definitions. Instead of using cgo simply duplicate the defintion of those two structs in Go and add a test to check that the duplicate definitions remain synchronized. Fixes #2827