Documentation
¶
Index ¶
- func BytesToString(bytes []uint8, letterCase Lettercase, separator string) string
- func FillMemory(ptr unsafe.Pointer, u8 uint8, size int)
- func Read[T constraints.Integer](ptr unsafe.Pointer) T
- func ReadMemory(ptr unsafe.Pointer, size int) []uint8
- func ReadMultilevelPtrVal[T constraints.Integer](ptr unsafe.Pointer, offsets []uintptr) T
- func ReadPtrVal[T constraints.Integer](ptr unsafe.Pointer, offset uintptr) T
- func StringToBytes(bytesString string) []uint8
- func Write[T constraints.Integer](ptr unsafe.Pointer, data T)
- func WriteMemory(ptr unsafe.Pointer, bytes []uint8)
- func WriteMultilevelPtrVal[T constraints.Integer](ptr unsafe.Pointer, offsets []uintptr, value T) bool
- func WritePtrVal[T constraints.Integer](ptr unsafe.Pointer, offset uintptr, value T) bool
- type Lettercase
- type MemoryDataEdit
- type MemoryEdit
- type MemoryPatch
- type PatternMatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
func BytesToString(bytes []uint8, letterCase Lettercase, separator string) string
func ReadMultilevelPtrVal ¶
func ReadMultilevelPtrVal[T constraints.Integer](ptr unsafe.Pointer, offsets []uintptr) T
func ReadPtrVal ¶
func ReadPtrVal[T constraints.Integer](ptr unsafe.Pointer, offset uintptr) T
func StringToBytes ¶
func WriteMemory ¶
func WriteMultilevelPtrVal ¶
func WritePtrVal ¶
Types ¶
type MemoryDataEdit ¶
type MemoryDataEdit[T constraints.Integer] struct { // contains filtered or unexported fields }
func NewMemoryDataEdit ¶
func NewMemoryDataEdit[T constraints.Integer](ptr unsafe.Pointer, data T) *MemoryDataEdit[T]
func (*MemoryDataEdit[T]) Edit ¶
func (mde *MemoryDataEdit[T]) Edit()
func (*MemoryDataEdit[T]) Revert ¶
func (mde *MemoryDataEdit[T]) Revert()
type MemoryEdit ¶
type MemoryEdit interface { Edit() Revert() }
type MemoryPatch ¶
type MemoryPatch struct {
// contains filtered or unexported fields
}
func NewMemoryPatch ¶
func NewMemoryPatch(ptr unsafe.Pointer, bytes []uint8) *MemoryPatch
func (*MemoryPatch) Edit ¶
func (mp *MemoryPatch) Edit()
func (*MemoryPatch) Revert ¶
func (mp *MemoryPatch) Revert()
type PatternMatch ¶
type PatternMatch struct {
// contains filtered or unexported fields
}
func NewPatternMatch ¶
func NewPatternMatch(pattern string, memoryStart unsafe.Pointer, memorySize int) *PatternMatch
func (*PatternMatch) FindAddress ¶
func (p *PatternMatch) FindAddress() unsafe.Pointer
func (*PatternMatch) FindNextAddress ¶
func (p *PatternMatch) FindNextAddress() unsafe.Pointer
Click to show internal directories.
Click to hide internal directories.