Versions in this module Expand all Collapse all v0 v0.1.3 May 5, 2019 v0.1.2 May 5, 2019 v0.1.1 Jan 19, 2019 Changes in this version + type Argument struct + Name string + Typ dwarf.Type + func (arg Argument) ParseValue(depth int) string + type Attributes struct + CompiledGoVersion string + FirstModuleDataAddr uint64 + ProgramPath string + type BinaryFile interface + Close func() error + FindFunction func(pc uint64) (*Function, error) + func OpenBinaryFile(pathToProgram string, goVersion GoVersion) (BinaryFile, error) + type Function struct + EndAddr uint64 + Name string + Parameters []Parameter + StartAddr uint64 + func (f Function) IsExported() bool + type GoRoutineInfo struct + CurrentPC uint64 + CurrentStackAddr uint64 + ID int64 + NextDeferFuncAddr uint64 + PanicHandler *PanicHandler + Panicking bool + UsedStackSize uint64 + type GoVersion struct + Devel bool + MajorVersion int + MinorVersion int + PatchVersion int + Raw string + func ParseGoVersion(raw string) GoVersion + func (v GoVersion) LaterThan(target GoVersion) bool + type PanicHandler struct + PCAtDefer uint64 + UsedStackSizeAtDefer uint64 + type Parameter struct + Exist bool + IsOutput bool + Name string + Offset int + Typ dwarf.Type + type Process struct + Binary BinaryFile + GoVersion GoVersion + func AttachProcess(pid int, attrs Attributes) (*Process, error) + func LaunchProcess(name string, arg []string, attrs Attributes) (*Process, error) + func (p *Process) ClearBreakpoint(addr uint64) error + func (p *Process) ContinueAndWait() (debugapi.Event, error) + func (p *Process) CurrentGoRoutineInfo(threadID int) (GoRoutineInfo, error) + func (p *Process) CurrentThreadInfo(threadID int) (ThreadInfo, error) + func (p *Process) Detach() error + func (p *Process) ExistBreakpoint(addr uint64) bool + func (p *Process) FindFunction(pc uint64) (*Function, error) + func (p *Process) ReadInstructions(f *Function) ([]x86asm.Inst, error) + func (p *Process) SetBreakpoint(addr uint64) error + func (p *Process) SingleStep(threadID int, trappedAddr uint64) error + func (p *Process) StackFrameAt(rsp, rip uint64) (*StackFrame, error) + type StackFrame struct + Function *Function + InputArguments []Argument + OutputArguments []Argument + ReturnAddress uint64 + type ThreadInfo struct + CurrentPC uint64 + CurrentStackAddr uint64 + ID int