syscallinfo

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSyscallName

func GetSyscallName(sysID int) string

GetSyscallName returns the name of a syscall based on its i d

Types

type SyscallArgInfo

type SyscallArgInfo struct {
	Name string
	Type string
}

SyscallArgInfo is the name and the type (as string) of a syscall argument

type SyscallArgs

type SyscallArgs []SyscallArgInfo

SyscallArgs is the arguments for a given syscall

func GetSyscallArgs

func GetSyscallArgs(name string) (SyscallArgs, bool)

GetSyscallArgs returns the arguments of a system call

func (SyscallArgs) Proto

func (sai SyscallArgs) Proto(name string) string

Proto returns a string representing a prototype for the system call

Jump to

Keyboard shortcuts

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