Documentation ¶
Index ¶
Constants ¶
View Source
const ( PTRACE_SEIZE = 0x4206 PTRACE_EVENT_STOP = 128 )
PTRACE_SEIZE from linux kernel https://github.com/torvalds/linux/blob/d8a5b80568a9cb66810e75b182018e9edb68e8ff/include/uapi/linux/ptrace.h#L53
Variables ¶
This section is empty.
Functions ¶
func PtraceSeize ¶
Types ¶
type Options ¶
type Options struct { AttachOptions []int StraceEnabled bool StraceOutput *safewriter.SafeWriter }
type TraceTask ¶
type TraceTask struct { Tid int Gid int SignalStop chan syscall.WaitStatus Continue chan syscall.Signal HasContinued chan int Detach chan int HasDetached chan int RunSyscall chan syscall.PtraceRegs SyscallReturn chan syscall.PtraceRegs SyscallError chan error InStopFunction chan func(*TraceTask) Error chan error // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.