Versions in this module Expand all Collapse all v1 v1.0.0 Feb 19, 2018 Changes in this version + var ErrDirChange = errors.New("direction change with internal breakpoints") + var ErrTooManyAttempts = errors.New("too many transmit attempts") + var ErrUnsupportedOS = errors.New("lldb backend not supported on windows") + func Record(cmd []string, wd string, quiet bool) (tracedir string, err error) + type ErrMalformedRRGdbCommand struct + func (err *ErrMalformedRRGdbCommand) Error() string + type GdbMalformedThreadIDError struct + func (err *GdbMalformedThreadIDError) Error() string + type GdbProtocolError struct + func (err *GdbProtocolError) Error() string + type Process struct + func LLDBAttach(pid int, path string) (*Process, error) + func LLDBLaunch(cmd []string, wd string) (*Process, error) + func New(process *os.Process) *Process + func RecordAndReplay(cmd []string, wd string, quiet bool) (p *Process, tracedir string, err error) + func Replay(tracedir string, quiet bool) (*Process, error) + func (p *Process) AllGCache() *[]*proc.G + func (p *Process) BinInfo() *proc.BinaryInfo + func (p *Process) Breakpoints() *proc.BreakpointMap + func (p *Process) CheckAndClearManualStopRequest() bool + func (p *Process) Checkpoint(where string) (int, error) + func (p *Process) Checkpoints() ([]proc.Checkpoint, error) + func (p *Process) ClearBreakpoint(addr uint64) (*proc.Breakpoint, error) + func (p *Process) ClearCheckpoint(id int) error + func (p *Process) ClearInternalBreakpoints() error + func (p *Process) Connect(conn net.Conn, path string, pid int) error + func (p *Process) ContinueOnce() (proc.Thread, error) + func (p *Process) CurrentThread() proc.Thread + func (p *Process) Detach(kill bool) error + func (p *Process) Dial(addr string, path string, pid int) error + func (p *Process) Direction(dir proc.Direction) error + func (p *Process) Exited() bool + func (p *Process) FindBreakpoint(pc uint64) (*proc.Breakpoint, bool) + func (p *Process) FindThread(threadID int) (proc.Thread, bool) + func (p *Process) Halt() error + func (p *Process) Kill() error + func (p *Process) Listen(listener net.Listener, path string, pid int) error + func (p *Process) Pid() int + func (p *Process) Recorded() (bool, string) + func (p *Process) RequestManualStop() error + func (p *Process) Restart(pos string) error + func (p *Process) ResumeNotify(ch chan<- struct{}) + func (p *Process) SelectedGoroutine() *proc.G + func (p *Process) SetBreakpoint(addr uint64, kind proc.BreakpointKind, cond ast.Expr) (*proc.Breakpoint, error) + func (p *Process) StepInstruction() error + func (p *Process) SwitchGoroutine(gid int) error + func (p *Process) SwitchThread(tid int) error + func (p *Process) ThreadList() []proc.Thread + func (p *Process) When() (string, error) + type Thread struct + CurrentBreakpoint proc.BreakpointState + ID int + func (t *Thread) Arch() proc.Arch + func (t *Thread) BinInfo() *proc.BinaryInfo + func (t *Thread) Blocked() bool + func (t *Thread) Breakpoint() proc.BreakpointState + func (t *Thread) Location() (*proc.Location, error) + func (t *Thread) ReadMemory(data []byte, addr uintptr) (n int, err error) + func (t *Thread) Registers(floatingPoint bool) (proc.Registers, error) + func (t *Thread) StepInstruction() error + func (t *Thread) ThreadID() int + func (t *Thread) WriteMemory(addr uintptr, data []byte) (written int, err error) + func (thread *Thread) SetCurrentBreakpoint() error v1.0.0-rc.2 Oct 16, 2017 v1.0.0-rc.1 May 6, 2017