Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoUnpackHandler = errors.New("no kernel.Unpack() handler defined")
View Source
var UnknownUnpackType = errors.New("kernel.Unpack() does not support type")
Functions ¶
Types ¶
type Buf ¶
type Buf struct { Addr uint64 K *KernelBase }
func (Buf) Struc ¶
func (b Buf) Struc() *models.StrucStream
type Kernel ¶
type Kernel interface {
UsercornKernel() *KernelBase
}
type KernelBase ¶
type KernelBase struct { Syscalls map[string]Syscall U models.Usercorn Argjoy argjoy.Argjoy Pack func(b Buf, i interface{}) error }
func (*KernelBase) UsercornKernel ¶
func (k *KernelBase) UsercornKernel() *KernelBase
Source Files ¶
Click to show internal directories.
Click to hide internal directories.