syscallctx

package
v0.0.0-...-a6860d5 Latest Latest
Warning

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

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

Documentation

Overview

Package syscallctx holds syscall context related files

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KernelSyscallCtxStruct

type KernelSyscallCtxStruct struct {
	ID    uint32
	Types uint8
	Arg1  [argMaxSize]byte
	Arg2  [argMaxSize]byte
	Arg3  [argMaxSize]byte
}

KernelSyscallCtxStruct maps the kernel structure

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver resolves syscall context

func NewResolver

func NewResolver() *Resolver

NewResolver returns a new syscall context

func (*Resolver) Close

func (sr *Resolver) Close() error

Close the resolver

func (*Resolver) Resolve

func (sr *Resolver) Resolve(ctxID uint32, ctx *model.SyscallContext) error

Resolve resolves the syscall context

func (*Resolver) Start

func (sr *Resolver) Start(manager *manager.Manager) error

Start the syscall context resolver

Jump to

Keyboard shortcuts

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