Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PtraceEvenEnum ¶
func SigTrapCauseInfo ¶
func SignalEnum ¶
func StopSignalInfo ¶
Types ¶
type App ¶
type App struct { Cmd string Args []string WorkDir string User string RunAsUser bool RTASourcePT bool StateCh chan AppState ReportCh chan *report.PtMonitorReport Report report.PtMonitorReport // contains filtered or unexported fields }
func (*App) FileActivity ¶
func (app *App) FileActivity() map[string]*report.FSActivityInfo
type StringParamPos ¶
type StringParamPos int
const ( SPPNo StringParamPos = 0 SPPOne StringParamPos = 1 SPPTwo StringParamPos = 2 )
type SyscallProcessor ¶
type SyscallProcessor interface { SyscallNumber() uint64 SetSyscallNumber(uint64) SyscallType() SyscallTypeName SyscallName() string EventOnCall() bool OnCall(pid int, regs syscall.PtraceRegs, cstate *syscallState) OnReturn(pid int, regs syscall.PtraceRegs, cstate *syscallState) FailedCall(cstate *syscallState) bool FailedReturnStatus(retVal uint64) bool OKCall(cstate *syscallState) bool OKReturnStatus(retVal uint64) bool }
type SyscallTypeName ¶
type SyscallTypeName string
const ( CheckFileType SyscallTypeName = "type.checkfile" OpenFileType SyscallTypeName = "type.openfile" ExecType SyscallTypeName = "type.exec" )
Click to show internal directories.
Click to hide internal directories.