Versions in this module Expand all Collapse all v1 v1.3.9 Dec 17, 2023 Changes in this version + const MaxArrayLength + const MaxStringLength + var Debug = false + var ErrArrayTooLong = errors.New("read failed, array too long") + var ErrInvalidArrayLength = errors.New("read failed, array length < 0") + var ErrInvalidStringLength = errors.New("read failed, string length < 0") + var ErrNoProcess = errors.New("no process matching the criteria was found") + var ErrPatternNotFound = errors.New("no memory matched the pattern") + var ErrStringTooLong = errors.New("read failed, string too long") + func FindWindow(title string) (syscall.Handle, error) — windows/amd64 + func GetWindowThreadProcessID(hwnd syscall.Handle) int32 — windows/amd64 + func Read(r io.ReaderAt, addresses interface{}, p interface{}) error + func ReadFloat32(r io.ReaderAt, addr int64, offsets ...int64) (float32, error) + func ReadFloat32Array(r io.ReaderAt, addr int64, offsets ...int64) ([]float32, error) + func ReadFloat64(r io.ReaderAt, addr int64, offsets ...int64) (float64, error) + func ReadFloat64Array(r io.ReaderAt, addr int64, offsets ...int64) ([]float64, error) + func ReadInt16(r io.ReaderAt, addr int64, offsets ...int64) (int16, error) + func ReadInt16Array(r io.ReaderAt, addr int64, offsets ...int64) ([]int16, error) + func ReadInt32(r io.ReaderAt, addr int64, offsets ...int64) (int32, error) + func ReadInt32Array(r io.ReaderAt, addr int64, offsets ...int64) ([]int32, error) + func ReadInt64(r io.ReaderAt, addr int64, offsets ...int64) (int64, error) + func ReadInt64Array(r io.ReaderAt, addr int64, offsets ...int64) ([]int64, error) + func ReadInt8(r io.ReaderAt, addr int64, offsets ...int64) (int8, error) + func ReadInt8Array(r io.ReaderAt, addr int64, offsets ...int64) ([]int8, error) + func ReadPtr(r io.ReaderAt, addr int64, offsets ...int64) (int64, error) + func ReadString(r io.ReaderAt, addr int64, offsets ...int64) (string, error) + func ReadUint16(r io.ReaderAt, addr int64, offsets ...int64) (uint16, error) + func ReadUint16Array(r io.ReaderAt, addr int64, offsets ...int64) ([]uint16, error) + func ReadUint32(r io.ReaderAt, addr int64, offsets ...int64) (uint32, error) + func ReadUint32Array(r io.ReaderAt, addr int64, offsets ...int64) ([]uint32, error) + func ReadUint64(r io.ReaderAt, addr int64, offsets ...int64) (uint64, error) + func ReadUint64Array(r io.ReaderAt, addr int64, offsets ...int64) ([]uint64, error) + func ReadUint8(r io.ReaderAt, addr int64, offsets ...int64) (uint8, error) + func ReadUint8Array(r io.ReaderAt, addr int64, offsets ...int64) ([]uint8, error) + func ResolvePatterns(p Process, offsets interface{}) error + func Scan(p Process, pattern string) (int64, error) + type Map interface + Size func() int64 + Start func() int64 + type Process interface + ExecutablePath func() (string, error) + Maps func() ([]Map, error) + Pid func() int + func FindProcess(re *regexp.Regexp, blacklistedTitles ...string) ([]Process, error) + type ReadError []error + func (r ReadError) Error() string