bdoor

package
v0.0.0-...-510905f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

View Source
const (
	BackdoorPort       = uint16(0x5658)
	BackdoorHighBWPort = uint16(0x5659)

	CommandGetVersion = uint32(10)

	CommandMessage       = uint16(0x1e)
	CommandHighBWMessage = uint16(0)
	CommandFlagCookie    = uint32(0x80000000)
)
View Source
const (
	BackdoorMagic = uint64(0x564D5868)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BackdoorProto

type BackdoorProto struct {
	AX, BX, CX, DX, SI, DI, BP UInt64
	// contains filtered or unexported fields
}

func (*BackdoorProto) HighBandwidthIn

func (p *BackdoorProto) HighBandwidthIn() *BackdoorProto

func (*BackdoorProto) HighBandwidthOut

func (p *BackdoorProto) HighBandwidthOut() *BackdoorProto

func (*BackdoorProto) InOut

func (p *BackdoorProto) InOut() *BackdoorProto

type UInt32

type UInt32 struct {
	High uint16
	Low  uint16
}

func (*UInt32) AsUInt32

func (u *UInt32) AsUInt32() *UInt32

func (*UInt32) SetPointer

func (u *UInt32) SetPointer(p unsafe.Pointer)

func (*UInt32) SetValue

func (u *UInt32) SetValue(val uint32)

func (*UInt32) SetWord

func (u *UInt32) SetWord(w uint32)

func (*UInt32) Value

func (u *UInt32) Value() uint32

func (*UInt32) Word

func (u *UInt32) Word() uint32

type UInt64

type UInt64 struct {
	High UInt32
	Low  UInt32
}

func (*UInt64) AsUInt32

func (u *UInt64) AsUInt32() *UInt32

func (*UInt64) Quad

func (u *UInt64) Quad() uint64

func (*UInt64) SetPointer

func (u *UInt64) SetPointer(p unsafe.Pointer)

func (*UInt64) SetQuad

func (u *UInt64) SetQuad(w uint64)

func (*UInt64) SetValue

func (u *UInt64) SetValue(val uint64)

func (*UInt64) Value

func (u *UInt64) Value() uint64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL