Versions in this module Expand all Collapse all v0 v0.2.1 Apr 25, 2017 Changes in this version + const ARCH_GET_FS + const ARCH_GET_GS + const ARCH_SET_FS + const ARCH_SET_GS + var AbiRegs = []int + var Arch = &models.Arch + func AbiInit(u models.Usercorn, syscall func(models.Usercorn)) error + 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) + func LinuxInit(u models.Usercorn, args, env []string) error + func LinuxInterrupt(u models.Usercorn, intno uint32) + func LinuxKernels(u models.Usercorn) []interface + func LinuxSyscall(u models.Usercorn) + func Rdmsr(u models.Usercorn, msr uint64) uint64 + func Wrmsr(u models.Usercorn, msr, value uint64) + type DarwinKernel struct + func (k *DarwinKernel) ThreadFastSetCthreadSelf(addr uint64) uint64 + type LinuxKernel struct + func (k *LinuxKernel) ArchPrctl(code int, addr uint64) + func (k *LinuxKernel) SetTidAddress()