Documentation ¶
Index ¶
- func ReadStruct[T any](addr int64, m *Memory, value *T)
- type Memory
- func (m *Memory) CalculateAddress(pointer StaticPointer) int64
- func (m *Memory) CalculateAddressEx(address uintptr, pointer StaticPointer) uintptr
- func (m *Memory) FindPattern(pattern Pattern) uintptr
- func (m *Memory) FindPatternEx(pattern Pattern) uintptr
- func (m *Memory) PatchAt(addr uintptr, bytes []byte) error
- func (m *Memory) Read(addr uintptr, buffer *[]byte, size int64) int64
- func (m *Memory) ReadDouble(addr int64) float64
- func (m *Memory) ReadFloat(addr int64) float32
- func (m *Memory) ReadInt(addr int64) int32
- func (m *Memory) ReadMemoryAtByte8(address int64) uintptr
- func (m *Memory) ReadStruct(addr uintptr, value unsafe.Pointer, size int)
- func (m *Memory) WriteDouble(addr int64, value float64)
- func (m *Memory) WriteFloat(addr int64, value float32)
- func (m *Memory) WriteInt(addr int64, value int32)
- type MemoryRegion
- type Pattern
- type StaticPointer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadStruct ¶
Types ¶
type Memory ¶
type Memory struct { ProcHandle windows.Handle BaseInfo windows.ModuleEntry32 Pid uint32 // contains filtered or unexported fields }
func NewMemoryM ¶
func NewMemoryMRW ¶
func NewMemoryRW ¶
func (*Memory) CalculateAddress ¶
func (m *Memory) CalculateAddress(pointer StaticPointer) int64
func (*Memory) CalculateAddressEx ¶
func (m *Memory) CalculateAddressEx(address uintptr, pointer StaticPointer) uintptr
func (*Memory) FindPattern ¶
func (*Memory) FindPatternEx ¶
func (*Memory) ReadDouble ¶
func (*Memory) ReadMemoryAtByte8 ¶
func (*Memory) ReadStruct ¶
func (*Memory) WriteDouble ¶
func (*Memory) WriteFloat ¶
type MemoryRegion ¶
type StaticPointer ¶
func (*StaticPointer) GetAddress ¶
func (p *StaticPointer) GetAddress(mem *Memory) int64
Click to show internal directories.
Click to hide internal directories.