syscallinfo

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSyscallID added in v0.8.3

func GetSyscallID(sysName string) int

GetSyscallID returns the id of a syscall based on its name returns -1, if no system call was found

func GetSyscallID32 added in v1.1.0

func GetSyscallID32(sysName string) int

GetSyscallID returns the id of a syscall based on its name returns -1, if no system call was found

func GetSyscallName

func GetSyscallName(sysID int) string

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

func SyscallsNames added in v0.9.0

func SyscallsNames() []string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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