Versions in this module Expand all Collapse all v0 v0.0.12 Sep 9, 2021 Changes in this version + const DefaultPkgPath + const EmptyPkgPath + const EmptyString + const FileSymPrefix + const FindFuncBucketSize + const InlineTreeSuffix + const InlinedCallSize + const IntSize + const InvalidHandleValue + const InvalidIndex + const InvalidOffset + const ItabPrefix + const ItabSize + const KindGCProg + const MainPkgPrefix + const OsStdout + const PageSize + const PtrSize + const R_ADDR + const R_ADDRARM64 + const R_ADDRCUOFF + const R_ADDROFF + const R_CALL + const R_CALLARM + const R_CALLARM64 + const R_CALLIND + const R_METHODOFF + const R_PCREL + const R_TLS_LE + const R_USEIFACE + const R_USEIFACEMETHOD + const R_USETYPE + const R_WEAKADDR + const R_WEAKADDROFF + const RuntimeDeferReturn + const SABIALIAS + const SBSS + const SDATA + const SDWARFABSFCN + const SDWARFCONST + const SDWARFCUINFO + const SDWARFFCN + const SDWARFLINES + const SDWARFLOC + const SDWARFRANGE + const SDWARFTYPE + const SDWARFVAR + const SLIBFUZZER_EXTRA_COUNTER + const SNOPTRBSS + const SNOPTRDATA + const SRODATA + const STEXT + const STLSBSS + const StkobjSuffix + const Sxxx + const TLSNAME + const TypeDoubleDotPrefix + const TypeImportPathPrefix + const TypePrefix + const UInt64Size + const Uint32Size + const ZeroByte + func Mmap(size int) ([]byte, error) — darwin/amd64, linux/amd64, windows/amd64 + func Munmap(b []byte) (err error) — darwin/amd64, linux/amd64 + func Munmap(b []byte) error — windows/amd64 + func Parse(f *os.File, pkgpath *string) ([]string, error) + func RegSymbol(symPtr map[string]uintptr) error + func RegSymbolWithSo(symPtr map[string]uintptr, path string) error + func RegTypes(symPtr map[string]uintptr, interfaces ...interface{}) + type CodeModule struct + Syms map[string]uintptr + func Load(linker *Linker, symPtr map[string]uintptr) (codeModule *CodeModule, err error) + func (cm *CodeModule) Unload() + type Func struct + FuncData []uintptr + PCData []uint32 + type FuncInfo struct + Args uint32 + File []string + FuncData []string + 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 Linker struct + Arch *sys.Arch + func ReadObj(f *os.File, pkgpath *string) (*Linker, error) + func ReadObjs(files []string, pkgPath []string) (*Linker, error) + type ObjSymbol struct + Data []byte + DupOK bool + Func *FuncInfo + Kind int + Name string + Reloc []Reloc + Size int64 + Type string + type Pkg struct + Arch string + 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