Versions in this module Expand all Collapse all v0 v0.2.1 Apr 25, 2017 Changes in this version + var Arch = &models.Arch + var LinuxRegs = []int + func CgcInit(u models.Usercorn, args, env []string) error + func CgcInterrupt(u models.Usercorn, intno uint32) + func CgcKernels(u models.Usercorn) []interface + func CgcSyscall(u models.Usercorn) + func DarwinInit(u models.Usercorn, args, env []string) error + func DarwinInterrupt(u models.Usercorn, intno uint32) + func DarwinKernels(u models.Usercorn) []interface + func DarwinSyscall(u models.Usercorn, class int) + func LinuxInterrupt(u models.Usercorn, intno uint32) + func LinuxKernels(u models.Usercorn) []interface + func LinuxSyscall(u models.Usercorn) + type CgcKernel struct + func (k *CgcKernel) Allocate(size uint32, executable int32, ret co.Obuf) int + func (k *CgcKernel) Deallocate(addr, size uint32) + func (k *CgcKernel) Fdwait(nfds int, reads, writes, timeoutBuf co.Buf, readyFds co.Obuf) int + func (k *CgcKernel) Literal_terminate(code int) + func (k *CgcKernel) Random(buf co.Obuf, size uint32, ret co.Obuf) + func (k *CgcKernel) Receive(fd co.Fd, buf co.Obuf, size co.Len, ret co.Obuf) int + func (k *CgcKernel) Transmit(fd co.Fd, buf co.Buf, size co.Len, ret co.Obuf) int + type LinuxKernel struct + func (k *LinuxKernel) SetThreadArea(addr uint64) int + func (k *LinuxKernel) Socketcall(index int, params co.Buf) uint64