MCPcopy
hub / github.com/slimtoolkit/slim / SyscallProcessor

Interface SyscallProcessor

pkg/monitor/ptrace/ptrace.go:1093–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1091)
1092
1093type SyscallProcessor interface {
1094 SyscallNumber() uint64
1095 SetSyscallNumber(uint64)
1096 SyscallType() SyscallTypeName
1097 SyscallName() string
1098 EventOnCall() bool
1099 OnCall(pid int, regs syscall.PtraceRegs, cstate *syscallState)
1100 OnReturn(pid int, regs syscall.PtraceRegs, cstate *syscallState)
1101 FailedCall(cstate *syscallState) bool
1102 FailedReturnStatus(retVal uint64) bool
1103 OKCall(cstate *syscallState) bool
1104 OKReturnStatus(retVal uint64) bool
1105}
1106
1107type StringParamPos int
1108

Callers 9

addSyscallProcessorFunction · 0.65
addSyscallProcessorFunction · 0.65
processFileActivityMethod · 0.65
processFileActivityMethod · 0.65
addSyscallProcessorFunction · 0.65
onSyscallFunction · 0.65
onSyscallFunction · 0.65
onSyscallReturnFunction · 0.65
processFileActivityMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected