Versions in this module Expand all Collapse all v1 v1.23.1 Sep 23, 2024 v1.23.0 Jul 16, 2024 v1.22.1 Feb 21, 2024 v1.22.0 Dec 29, 2023 Changes in this version + func Compare(v, w string) int + func FuncSymName(goVersion string) string + func GetFuncSymName() string + func GoTagToSemver(tag string) string + func MajorMinor(v string) string + func ProgContaining(elfFile *elf.File, addr uint64) *elf.Prog + func SegmentContaining(exe *macho.File, addr uint64) *macho.Segment + 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 InlinedCall struct + FuncID uint8 + Name string + ParentPC int32 + type LineTable struct + Data []byte + Line int + PC uint64 + func NewLineTable(data []byte, text uint64) *LineTable + func (t *LineTable) InlineTree(f *Func, goFuncValue, baseAddr uint64, progReader io.ReaderAt) ([]InlinedCall, error) + 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) GetInlineTree(f *Func, goFuncVal, baseaddr uint64, progReader io.ReaderAt) ([]InlinedCall, 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