Versions in this module Expand all Collapse all v0 v0.0.20 Nov 19, 2024 Changes in this version + const ABI0_SUFFIX + const ABIINTERNAL_SUFFIX + const UNRESOLVED_SYMREF_FMT + const UNRESOLVED_SYMREF_PREFIX + func IsHasItabPrefix(name string) bool + func IsHasStringPrefix(name string) bool + func IsHasTypePrefix(name string) bool + type Archive struct + func (v *Archive) UnmarshalBinary(data []byte) error + func (v Archive) MarshalBinary() ([]byte, error) + type CgoImport struct + CSymName string + GoSymName string + SoName string type ObjSymbol + ABI uint type Pkg + CUOffset int32 + CgoImports map[string]*CgoImport + GoArchive *Archive + SymIndex []string + func (pkg *Pkg) AddCgoFuncs(cgoFuncs map[string]int) + func (pkg *Pkg) AddSymIndex(cgoFuncs map[string]int) + func (pkg *Pkg) ResolveSymbols(packages map[string]*Pkg, ObjSymbolMap map[string]*ObjSymbol, CUOffset int32) v0.0.19 Mar 2, 2024 Changes in this version + func Grow(bytes *[]byte, size int) + func PathToPrefix(s string) string + func ReplacePkgPath(name, pkgpath string) string + type InlinedCall struct + func InitInlinedCall(inl InlTreeNode, funcid uint8, namemap map[string]int, filetab []uint32) InlinedCall type Pkg + func (pkg *Pkg) Symbols() error type Reloc + SymName string v0.0.18 Dec 2, 2023 Changes in this version + func FindFileTab(filename string, namemap map[string]int, filetab []uint32) int32 type Pkg + File *os.File + ImportPkgs []string v0.0.17 Jul 1, 2023 Changes in this version + type Epilogue struct + Offset int + Size int type FuncInfo + CUOffset int32 + StartLine int32 type Pkg + CUFiles []string v0.0.16 Aug 8, 2022 v0.0.15 Mar 16, 2022 Changes in this version + const EmptyPkgPath + const EmptyString + const InlinedCallSize + const InvalidIndex + const InvalidOffset + type Func struct + FuncData []uintptr + PCData []uint32 + type FuncInfo struct + Args uint32 + File []string + FuncData []string + FuncFlag uint8 + FuncID uint8 + InlTree []InlTreeNode + Locals uint32 + PCData [][]byte + PCFile []byte + PCInline []byte + PCLine []byte + PCSP []byte + type InlTreeNode struct + File string + Func string + Line int64 + Parent int64 + ParentPC int64 + type ObjSymbol struct + Data []byte + DupOK bool + Func *FuncInfo + Kind int + Name string + Reloc []Reloc + Size int64 + Type string + type Pkg struct + Arch string + F *os.File + PkgPath string + Syms map[string]*ObjSymbol + type Reloc struct + Add int + Offset int + Size int + Sym *Sym + Type int + type Sym struct + Func *Func + Kind int + Name string + Offset int + Reloc []Reloc