Documentation ¶
Index ¶
- Constants
- Variables
- func FindWindow(title string) (syscall.Handle, error)
- func GetWindowThreadProcessID(hwnd syscall.Handle) int32
- 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
- type Process
- type ReadError
Constants ¶
View Source
const ( MaxStringLength = 4096 MaxArrayLength = 65536 )
Variables ¶
View Source
var ( ErrNoProcess = errors.New("no process matching the criteria was found") ErrPatternNotFound = errors.New("no memory matched the pattern") )
View Source
var ( ErrStringTooLong = errors.New("read failed, string too long") ErrArrayTooLong = errors.New("read failed, array too long") ErrInvalidStringLength = errors.New("read failed, string length < 0") ErrInvalidArrayLength = errors.New("read failed, array length < 0") )
View Source
var Debug = false
Functions ¶
func ReadFloat32Array ¶
func ReadFloat64Array ¶
func ReadInt16Array ¶
func ReadInt32Array ¶
func ReadInt64Array ¶
func ReadInt8Array ¶
func ReadUint16Array ¶
func ReadUint32Array ¶
func ReadUint64Array ¶
func ReadUint8Array ¶
func ResolvePatterns ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.