Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultABI ¶ added in v1.3.2
func GetSyscallName ¶
GetSyscallName returns the name of a syscall based on its id
func SyscallID ¶ added in v1.3.2
SyscallID returns the id of a syscall based on its name and an ABI ABI may be empty, in which case the default ABI is used (e.g., x64 for x86_64) returns -1, if no system call was found
func SyscallsNames ¶ added in v1.3.2
return all syscall names for the given ABI
Types ¶
type SyscallArgInfo ¶
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
Click to show internal directories.
Click to hide internal directories.