A Go package for manipulating Windows processes. Automated tests manipulate and verify their own process memory via Windows APIs.
import "github.com/jamesmoriarty/gomem"
// Open process with handle.
process, err := gomem.GetOpenProcessFromName("example.exe")
// Read from process memory.
valuePtr, err := process.ReadUInt32(offsetPtr)
// Write to process memory.
process.WriteByte(valuePtr, value)
go build
go test