Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + type DecodingError struct + func (e *DecodingError) Error() string + type Func struct + End uint64 + Entry uint64 + FrameSize int + LineTable *LineTable + Locals []*Sym + Obj *Obj + Params []*Sym + type LineTable struct + Data []byte + Line int + PC uint64 + func NewLineTable(data []byte, text uint64) *LineTable + func (t *LineTable) LineToPC(line int, maxpc uint64) uint64 + func (t *LineTable) PCToLine(pc uint64) int + type Obj struct + Funcs []Func + Paths []Sym + type Sym struct + Func *Func + GoType uint64 + Name string + Type byte + Value uint64 + func (s *Sym) BaseName() string + func (s *Sym) PackageName() string + func (s *Sym) ReceiverName() string + func (s *Sym) Static() bool + type Table struct + Files map[string]*Obj + Funcs []Func + Objs []Obj + Syms []Sym + func NewTable(symtab []byte, pcln *LineTable) (*Table, error) + func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) + func (t *Table) LookupFunc(name string) *Func + func (t *Table) LookupSym(name string) *Sym + func (t *Table) PCToFunc(pc uint64) *Func + func (t *Table) PCToLine(pc uint64) (file string, line int, fn *Func) + func (t *Table) SymByAddr(addr uint64) *Sym + type UnknownFileError string + func (e UnknownFileError) Error() string + type UnknownLineError struct + File string + Line int + func (e *UnknownLineError) Error() string