attached

package
v0.0.0-...-e712342 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2014 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAddrNotFound = errors.New("Error Address not found!")
View Source
var ErrFuncNotFound = errors.New("Error Func not found!")

Functions

This section is empty.

Types

type Point

type Point struct {
	Func string
	File string
	Line int
	Addr uint64
}

func (Point) InFile

func (pos Point) InFile() bool

func (*Point) String

func (pt *Point) String() string

type Process

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

func Attach

func Attach(pid int) (*Process, error)

func Launch

func Launch(cmd []string) (*Process, error)

func (*Process) Break

func (p *Process) Break(pt Point) (Point, error)

func (*Process) BreakPoints

func (p *Process) BreakPoints() map[uint64]Point

func (*Process) Clear

func (p *Process) Clear(pt Point) (Point, error)

func (*Process) Continue

func (p *Process) Continue() error

func (*Process) CurrentPoint

func (p *Process) CurrentPoint() (pt Point, err error)

func (*Process) CurrentThreadPoints

func (p *Process) CurrentThreadPoints() (map[int]Point, error)

func (*Process) Funcs

func (p *Process) Funcs() []string

func (*Process) HasFunc

func (p *Process) HasFunc(name string) bool

func (*Process) Kill

func (p *Process) Kill() error

func (*Process) Next

func (p *Process) Next(id int) error

func (*Process) NextAll

func (p *Process) NextAll() error

func (*Process) NextCurrent

func (p *Process) NextCurrent() error

func (*Process) PID

func (p *Process) PID() int

func (*Process) Step

func (p *Process) Step(id int) error

func (*Process) StepAll

func (p *Process) StepAll() error

func (*Process) StepCurrent

func (p *Process) StepCurrent() error

Jump to

Keyboard shortcuts

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