Versions in this module Expand all Collapse all v0 v0.1.5 Feb 10, 2021 v0.1.4 Feb 4, 2021 v0.1.3 Jan 29, 2021 v0.1.2 Nov 17, 2020 Changes in this version + const CLONE_NEWCGROUP + const CLONE_NEWIPC + const CLONE_NEWNET + const CLONE_NEWNS + const CLONE_NEWPID + const CLONE_NEWUSER + const CLONE_NEWUTS + const PROT_SEM + const PTRACE_GET_SYSCALL_INFO + const PTRACE_INTERRUPT + const PTRACE_LISTEN + const PTRACE_PEEKSIGINFO + const PTRACE_SECCOMP_GET_FILTER + const PTRACE_SEIZE + const RLIMIT_LOCKS + const RLIMIT_MEMLOCK + const RLIMIT_MSGQUEUE + const RLIMIT_NICE + const RLIMIT_NPROC + const RLIMIT_RSS + const RLIMIT_RTPRIO + const RLIMIT_RTTIME + const RLIMIT_SIGPENDING + const SYS_SECCOMP + const SYS_SETNS + func DecodeSyscall(nr int, arguments []*byte, arglen int) (interface{}, error) + func TestFutex(t *testing.T) + type Accept struct + FD types.InputFD + Saddr *types.SockAddr + func (e *Accept) Arguments() Arguments + func (e *Accept) CallName() string + func (e *Accept) DecodeArguments(data []*byte, arglen int) error + func (e *Accept) Return() *Argument + type Accept4 struct + FD types.InputFD + Flags AcceptFlags + Saddr *types.SockAddr + func (e *Accept4) Arguments() Arguments + func (e *Accept4) CallName() string + func (e *Accept4) DecodeArguments(data []*byte, arglen int) error + func (e *Accept4) Return() *Argument + type AcceptFlags int + func (f *AcceptFlags) UnmarshalJSON(b []byte) error + func (f AcceptFlags) MarshalJSON() ([]byte, error) + func (flags AcceptFlags) Parse() []string + func (flags AcceptFlags) String() string + type Access struct + Mode types.XmodeFlags + Pathname string + func (a *Access) Arguments() Arguments + func (a *Access) CallName() string + func (a *Access) DecodeArguments(data []*byte, arglen int) error + func (a *Access) Return() *Argument + type Acct struct + Pathname string + func (a *Acct) Arguments() Arguments + func (a *Acct) CallName() string + func (a *Acct) DecodeArguments(data []*byte, arglen int) error + func (a *Acct) Return() *Argument + type Alarm struct + Seconds uint32 + func (a *Alarm) Arguments() Arguments + func (a *Alarm) CallName() string + func (a *Alarm) DecodeArguments(data []*byte, arglen int) error + func (a *Alarm) Return() *Argument + type Argument struct + Name string + Type string + Value interface{} + func (a Argument) MarshalJSON() ([]byte, error) + func (a Argument) String() string + type Arguments []*Argument + func (a Arguments) String() string + type Bind struct + FD types.InputFD + Ret types.OutputFD + Saddr *types.SockAddr + func (b *Bind) Arguments() Arguments + func (b *Bind) CallName() string + func (b *Bind) DecodeArguments(data []*byte, arglen int) error + func (b *Bind) Return() *Argument + type Brk struct + Addr uint64 + func (b *Brk) Arguments() Arguments + func (b *Brk) CallName() string + func (b *Brk) DecodeArguments(data []*byte, arglen int) error + func (b *Brk) Return() *Argument + type Chdir struct + Filename string + func (c *Chdir) Arguments() Arguments + func (c *Chdir) CallName() string + func (c *Chdir) DecodeArguments(data []*byte, arglen int) error + func (c *Chdir) Return() *Argument + type Chroot struct + Filename string + func (c *Chroot) Arguments() Arguments + func (c *Chroot) CallName() string + func (c *Chroot) DecodeArguments(data []*byte, arglen int) error + func (c *Chroot) Return() *Argument + type Clone struct + ChildStack uint64 + Flags types.CloneFlags + NewStack uint64 + ParentStack uint64 + Tls uint64 + func (c *Clone) Arguments() Arguments + func (c *Clone) CallName() string + func (c *Clone) DecodeArguments(data []*byte, arglen int) error + func (c *Clone) Return() *Argument + type Close struct + FD types.InputFD + func (c *Close) Arguments() Arguments + func (c *Close) CallName() string + func (c *Close) DecodeArguments(data []*byte, arglen int) error + func (c *Close) Return() *Argument + type Connect struct + FD types.InputFD + Saddr *types.SockAddr + func (c *Connect) Arguments() Arguments + func (c *Connect) CallName() string + func (c *Connect) DecodeArguments(data []*byte, arglen int) error + func (c *Connect) Return() *Argument + type Creat struct + Mode os.FileMode + Pathname string + func (c *Creat) Arguments() Arguments + func (c *Creat) CallName() string + func (c *Creat) DecodeArguments(data []*byte, arglen int) error + func (c *Creat) Return() *Argument + type Execve struct + Argv [4]string + Filename string + func (e *Execve) Arguments() Arguments + func (e *Execve) CallName() string + func (e *Execve) DecodeArguments(data []*byte, arglen int) error + func (e *Execve) Return() *Argument + type Exit struct + Code int + func (e *Exit) Arguments() Arguments + func (e *Exit) CallName() string + func (e *Exit) DecodeArguments(data []*byte, arglen int) error + func (e *Exit) Return() *Argument + type Faccessat struct + FD types.DirFD + Flags int + Mode os.FileMode + Pathname string + func (f *Faccessat) Arguments() Arguments + func (f *Faccessat) CallName() string + func (f *Faccessat) DecodeArguments(data []*byte, arglen int) error + func (f *Faccessat) Return() *Argument + type Fstat struct + FD types.InputFD + StatBuf *syscall.Stat_t + func (f *Fstat) Arguments() Arguments + func (f *Fstat) CallName() string + func (f *Fstat) DecodeArguments(data []*byte, arglen int) error + func (f *Fstat) Return() *Argument + type Ftruncate struct + FD types.InputFD + Length int + func (f *Ftruncate) Arguments() Arguments + func (f *Ftruncate) CallName() string + func (f *Ftruncate) DecodeArguments(data []*byte, arglen int) error + func (f *Ftruncate) Return() *Argument + type Function interface + Arguments func() Arguments + CallName func() string + Return func() *Argument + type FunctionDecoder interface + DecodeArguments func([]*byte, int) error + type FunctionHandle struct + func (h *FunctionHandle) MarshalJSON() ([]byte, error) + func (h *FunctionHandle) String() string + type FunctionHandler interface + type Futex struct + Op int + Uaddr uint32 + Val uint32 + func (f *Futex) Arguments() Arguments + func (f *Futex) CallName() string + func (f *Futex) DecodeArguments(data []*byte, arglen int) error + func (f *Futex) Return() *Argument + type Getcwd struct + Buf string + Size int + func (g *Getcwd) Arguments() Arguments + func (g *Getcwd) CallName() string + func (g *Getcwd) DecodeArguments(data []*byte, arglen int) error + func (g *Getcwd) Return() *Argument + type Getpeername struct + FD types.InputFD + Saddr *types.SockAddr + func (g *Getpeername) Arguments() Arguments + func (g *Getpeername) CallName() string + func (g *Getpeername) DecodeArguments(data []*byte, arglen int) error + func (g *Getpeername) Return() *Argument + type Getsockname struct + FD types.InputFD + Saddr *types.SockAddr + func (g *Getsockname) Arguments() Arguments + func (g *Getsockname) CallName() string + func (g *Getsockname) DecodeArguments(data []*byte, arglen int) error + func (g *Getsockname) Return() *Argument + type Getsockopt struct + func (g *Getsockopt) CallName() string + func (g *Getsockopt) Return() *Argument + type INotifyAddWatch struct + FD types.InputFD + Mask InotifyMask + Pathname string + func (m *INotifyAddWatch) Arguments() Arguments + func (m *INotifyAddWatch) CallName() string + func (m *INotifyAddWatch) DecodeArguments(data []*byte, arglen int) error + func (m *INotifyAddWatch) Return() *Argument + type InitModule struct + Len int + Name string + Params string + func (i *InitModule) Arguments() Arguments + func (i *InitModule) CallName() string + func (i *InitModule) DecodeArguments(data []*byte, arglen int) error + func (i *InitModule) Return() *Argument + type InotifyMask uint32 + func (f *InotifyMask) UnmarshalJSON(data []byte) error + func (f InotifyMask) MarshalJSON() ([]byte, error) + func (flags InotifyMask) Parse() []string + func (flags InotifyMask) String() string + type Kill struct + Pid int32 + Sig int32 + func (k *Kill) Arguments() Arguments + func (k *Kill) CallName() string + func (k *Kill) DecodeArguments(data []*byte, arglen int) error + func (k *Kill) Return() *Argument + type Link struct + NewName string + OldName string + func (l *Link) Arguments() Arguments + func (l *Link) CallName() string + func (l *Link) DecodeArguments(data []*byte, arglen int) error + func (l *Link) Return() *Argument + type Listen struct + Backlog int + Sock types.InputFD + func (l *Listen) Arguments() Arguments + func (l *Listen) CallName() string + func (l *Listen) DecodeArguments(data []*byte, arglen int) error + func (l *Listen) Return() *Argument + type Mincore struct + Addr uintptr + Len int + Vec uintptr + func (m *Mincore) Arguments() Arguments + func (m *Mincore) CallName() string + func (m *Mincore) DecodeArguments(data []*byte, arglen int) error + func (m *Mincore) Return() *Argument + type Mkdir struct + Mode os.FileMode + Pathname string + func (m *Mkdir) Arguments() Arguments + func (m *Mkdir) CallName() string + func (m *Mkdir) DecodeArguments(data []*byte, arglen int) error + func (m *Mkdir) Return() *Argument + type Mount struct + Device string + Directory string + Flags MountFlags + Type string + func (m *Mount) Arguments() Arguments + func (m *Mount) CallName() string + func (m *Mount) DecodeArguments(data []*byte, arglen int) error + func (m *Mount) Return() *Argument + type MountFlags int + func (f *MountFlags) UnmarshalJSON(data []byte) error + func (f MountFlags) MarshalJSON() ([]byte, error) + func (flags MountFlags) Parse() []string + func (flags MountFlags) String() string + type Mprotect struct + Addr uintptr + AddrData types.Buffer + Len int + Prot ProtFlags + func (m *Mprotect) Arguments() Arguments + func (m *Mprotect) CallName() string + func (m *Mprotect) DecodeArguments(data []*byte, arglen int) error + func (m *Mprotect) Return() *Argument + type Nanosleep struct + Rem types.Timespec + Req types.Timespec + func (n *Nanosleep) Arguments() Arguments + func (n *Nanosleep) CallName() string + func (n *Nanosleep) DecodeArguments(data []*byte, arglen int) error + func (n *Nanosleep) Return() *Argument + type Open struct + Filename string + Flags types.FileFlags + Mode int + Ret types.OutputFD + func (o *Open) Arguments() Arguments + func (o *Open) CallName() string + func (o *Open) DecodeArguments(data []*byte, arglen int) error + func (o *Open) Return() *Argument + type Openat struct + DirFD types.DirFD + Flags types.FileFlags + Pathname string + func (o *Openat) Arguments() Arguments + func (o *Openat) CallName() string + func (o *Openat) DecodeArguments(data []*byte, arglen int) error + func (o *Openat) Return() *Argument + type PRresource int + func (r *PRresource) UnmarshalJSON(data []byte) error + func (r PRresource) MarshalJSON() ([]byte, error) + func (r PRresource) Parse() string + func (r PRresource) String() string + type PivotRoot struct + NewRoot string + OldRoot string + func (p *PivotRoot) Arguments() Arguments + func (p *PivotRoot) CallName() string + func (p *PivotRoot) DecodeArguments(data []*byte, arglen int) error + func (p *PivotRoot) Return() *Argument + type Prlimit64 struct + New Rlimit + Old Rlimit + Pid int + Resource PRresource + func (p *Prlimit64) Arguments() Arguments + func (p *Prlimit64) CallName() string + func (p *Prlimit64) DecodeArguments(data []*byte, arglen int) error + func (p *Prlimit64) Return() *Argument + type ProtFlags int + func (flags ProtFlags) Parse() []string + func (flags ProtFlags) String() string + type Ptrace struct + Addr uint64 + Data PtraceData + PID int + Request PtraceRequest + func (p *Ptrace) Arguments() Arguments + func (p *Ptrace) CallName() string + func (p *Ptrace) DecodeArguments(data []*byte, arglen int) error + func (p *Ptrace) Return() *Argument + type PtraceData uint64 + type PtraceRequest int + func (p PtraceRequest) Parse() string + func (p PtraceRequest) String() string + type Read struct + Buf types.Buffer + Count int + FD types.InputFD + func (r *Read) Arguments() Arguments + func (r *Read) CallName() string + func (r *Read) DecodeArguments(data []*byte, arglen int) error + func (r *Read) Return() *Argument + type Readlink struct + Buf types.Buffer + Bufsize int + Pathname string + func (r *Readlink) Arguments() Arguments + func (r *Readlink) CallName() string + func (r *Readlink) DecodeArguments(data []*byte, arglen int) error + func (r *Readlink) Return() *Argument + type Readlinkat struct + Buf types.Buffer + Bufsize int + DirFD types.DirFD + Pathname string + func (r *Readlinkat) Arguments() Arguments + func (r *Readlinkat) CallName() string + func (r *Readlinkat) DecodeArguments(data []*byte, arglen int) error + func (r *Readlinkat) Return() *Argument + type Recvfrom struct + FD types.InputFD + Flags types.MsgFlags + OSize int + Saddr *types.SockAddr + Size int + Ubuf types.Buffer + func (r *Recvfrom) Arguments() Arguments + func (r *Recvfrom) CallName() string + func (r *Recvfrom) DecodeArguments(data []*byte, arglen int) error + func (r *Recvfrom) Return() *Argument + type Rename struct + NewName string + OldName string + func (r *Rename) Arguments() Arguments + func (r *Rename) CallName() string + func (r *Rename) DecodeArguments(data []*byte, arglen int) error + func (r *Rename) Return() *Argument + type Rlimit syscall.Rlimit + type Rmdir struct + Pathname string + func (r *Rmdir) Arguments() Arguments + func (r *Rmdir) CallName() string + func (r *Rmdir) DecodeArguments(data []*byte, arglen int) error + func (r *Rmdir) Return() *Argument + type Seccomp struct + Args string + Flags int + Op int + func (s *Seccomp) Arguments() Arguments + func (s *Seccomp) CallName() string + func (s *Seccomp) DecodeArguments(data []*byte, arglen int) error + func (s *Seccomp) Return() *Argument + type Sendto struct + FD types.InputFD + Flags types.MsgFlags + Saddr *types.SockAddr + Size int + Ubuf types.Buffer + func (s *Sendto) Arguments() Arguments + func (s *Sendto) CallName() string + func (s *Sendto) DecodeArguments(data []*byte, arglen int) error + func (s *Sendto) Return() *Argument + type Setns struct + FD types.InputFD + NSType types.CloneFlags + func (s *Setns) Arguments() Arguments + func (s *Setns) CallName() string + func (s *Setns) DecodeArguments(data []*byte, arglen int) error + func (s *Setns) Return() *Argument + type Setsockopt struct + func (s *Setsockopt) CallName() string + func (s *Setsockopt) Return() *Argument + type Setuid struct + UID int + func (s *Setuid) Arguments() Arguments + func (s *Setuid) CallName() string + func (s *Setuid) DecodeArguments(data []*byte, arglen int) error + func (s *Setuid) Return() *Argument + type SockFamily int + func (f *SockFamily) UnmarshalJSON(data []byte) error + func (f SockFamily) MarshalJSON() ([]byte, error) + func (f SockFamily) Parse() string + func (f SockFamily) String() string + type SockProtocol int + func (p *SockProtocol) UnmarshalJSON(data []byte) error + func (p SockProtocol) MarshalJSON() ([]byte, error) + func (p SockProtocol) Parse() string + func (p SockProtocol) String() string + type SockType int + func (t *SockType) UnmarshalJSON(data []byte) error + func (t SockType) MarshalJSON() ([]byte, error) + func (t SockType) Parse() []string + func (t SockType) String() string + type Socket struct + Family SockFamily + Protocol SockProtocol + Type SockType + func (s *Socket) Arguments() Arguments + func (s *Socket) CallName() string + func (s *Socket) DecodeArguments(data []*byte, arglen int) error + func (s *Socket) Return() *Argument + type Sockopt struct + FD types.InputFD + Len int + Level SockoptLevel + Name *SockoptName + Val []byte + func (g *Sockopt) Arguments() Arguments + func (g *Sockopt) DecodeArguments(data []*byte, arglen int) error + type SockoptLevel int + func (s *SockoptLevel) UnmarshalJSON(data []byte) error + func (s SockoptLevel) MarshalJSON() ([]byte, error) + func (s SockoptLevel) Parse() string + func (s SockoptLevel) String() string + type SockoptName struct + Lv int + Tp int + func (s *SockoptName) MarshalJSON() ([]byte, error) + func (s *SockoptName) Parse() string + func (s *SockoptName) String() string + func (s *SockoptName) UnmarshalJSON(b []byte) error + type Stat struct + Filename string + StatBuf syscall.Stat_t + func (s *Stat) Arguments() Arguments + func (s *Stat) CallName() string + func (s *Stat) DecodeArguments(data []*byte, arglen int) error + func (s *Stat) Return() *Argument + type Statfs struct + Path string + StatBuf syscall.Stat_t + func (s *Statfs) Arguments() Arguments + func (s *Statfs) CallName() string + func (s *Statfs) DecodeArguments(data []*byte, arglen int) error + func (s *Statfs) Return() *Argument + type Symlink struct + Linkpath string + Target string + func (s *Symlink) Arguments() Arguments + func (s *Symlink) CallName() string + func (s *Symlink) DecodeArguments(data []*byte, arglen int) error + func (s *Symlink) Return() *Argument + type Syslog struct + Buf string + Len int + Type int + func (s *Syslog) Arguments() Arguments + func (s *Syslog) CallName() string + func (s *Syslog) DecodeArguments(data []*byte, arglen int) error + func (s *Syslog) Return() *Argument + type TimerFDCreate struct + Clock types.TFDClock + Flags types.TimerFlags + func (t *TimerFDCreate) Arguments() Arguments + func (t *TimerFDCreate) CallName() string + func (t *TimerFDCreate) DecodeArguments(data []*byte, arglen int) error + func (t *TimerFDCreate) Return() *Argument + type TimerFDSettime struct + FD types.InputFD + Flags types.TimerFlags + New types.Itimerspec + Old types.Itimerspec + func (f *TimerFDSettime) Arguments() Arguments + func (f *TimerFDSettime) CallName() string + func (f *TimerFDSettime) DecodeArguments(data []*byte, arglen int) error + func (f *TimerFDSettime) Return() *Argument + type Umount2 struct + Flags types.UmountFlags + Target string + func (u *Umount2) Arguments() Arguments + func (u *Umount2) CallName() string + func (u *Umount2) DecodeArguments(data []*byte, arglen int) error + func (u *Umount2) Return() *Argument + type Unlink struct + Pathname string + func (u *Unlink) Arguments() Arguments + func (u *Unlink) CallName() string + func (u *Unlink) DecodeArguments(data []*byte, arglen int) error + func (u *Unlink) Return() *Argument + type Write struct + Buf types.Buffer + Count int + FD types.InputFD + func (w *Write) Arguments() Arguments + func (w *Write) CallName() string + func (w *Write) DecodeArguments(data []*byte, arglen int) error + func (w *Write) Return() *Argument