Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const AuxDwarfInfo + const AuxDwarfLines + const AuxDwarfLoc + const AuxDwarfRanges + const AuxFuncInfo + const AuxFuncdata + const AuxGotype + const AuxPcdata + const AuxPcfile + const AuxPcinline + const AuxPcline + const AuxPcsp + const AuxSize + const BlkAutolib + const BlkAux + const BlkAuxIdx + const BlkData + const BlkDataIdx + const BlkEnd + const BlkFile + const BlkHash + const BlkHash64 + const BlkHashed64def + const BlkHasheddef + const BlkNonpkgdef + const BlkNonpkgref + const BlkPkgIdx + const BlkRefFlags + const BlkRefName + const BlkReloc + const BlkRelocIdx + const BlkSymdef + const Hash64Size + const HashSize + const Magic + const NBlk + const ObjFlagFromAssembly + const ObjFlagNeedNameExpansion + const ObjFlagShared + const PkgIdxBuiltin + const PkgIdxHashed + const PkgIdxHashed64 + const PkgIdxInvalid + const PkgIdxNone + const PkgIdxSelf + const RefFlagsSize + const RefNameSize + const RelocSize + const SymABIstatic + const SymFlagDict + const SymFlagDupok + const SymFlagGoType + const SymFlagItab + const SymFlagLeaf + const SymFlagLocal + const SymFlagNoSplit + const SymFlagReflectMethod + const SymFlagTypelink + const SymFlagUsedInIface + const SymSize + func BuiltinIdx(name string, abi int) int + func BuiltinName(i int) (string, int) + func NBuiltin() int + type Aux [AuxSize]byte + func (a *Aux) SetSym(x SymRef) + func (a *Aux) SetType(x uint8) + func (a *Aux) Sym() SymRef + func (a *Aux) Type() uint8 + func (a *Aux) Write(w *Writer) + type CUFileIndex uint32 + type FingerprintType [8]byte + func (fp FingerprintType) IsZero() bool + type FuncInfo struct + Args uint32 + File []CUFileIndex + FuncFlag objabi.FuncFlag + FuncID objabi.FuncID + InlTree []InlTreeNode + Locals uint32 + func (*FuncInfo) ReadArgs(b []byte) uint32 + func (*FuncInfo) ReadFile(b []byte, filesoff uint32, k uint32) CUFileIndex + func (*FuncInfo) ReadFuncFlag(b []byte) objabi.FuncFlag + func (*FuncInfo) ReadFuncID(b []byte) objabi.FuncID + func (*FuncInfo) ReadFuncInfoLengths(b []byte) FuncInfoLengths + func (*FuncInfo) ReadInlTree(b []byte, inltreeoff uint32, k uint32) InlTreeNode + func (*FuncInfo) ReadLocals(b []byte) uint32 + func (a *FuncInfo) Write(w *bytes.Buffer) + type FuncInfoLengths struct + FileOff uint32 + Initialized bool + InlTreeOff uint32 + NumFile uint32 + NumInlTree uint32 + type Hash64Type [Hash64Size]byte + type HashType [HashSize]byte + type Header struct + Fingerprint FingerprintType + Flags uint32 + Magic string + Offsets [NBlk]uint32 + func (h *Header) Read(r *Reader) error + func (h *Header) Size() int + func (h *Header) Write(w *Writer) + type ImportedPkg struct + Fingerprint FingerprintType + Pkg string + func (p *ImportedPkg) Write(w *Writer) + type InlTreeNode struct + File CUFileIndex + Func SymRef + Line int32 + Parent int32 + ParentPC int32 + func (inl *InlTreeNode) Read(b []byte) []byte + func (inl *InlTreeNode) Write(w *bytes.Buffer) + type Reader struct + func NewReaderFromBytes(b []byte, readonly bool) *Reader + func (r *Reader) Autolib() []ImportedPkg + func (r *Reader) Aux(i uint32, j int) *Aux + func (r *Reader) AuxOff(i uint32, j int) uint32 + func (r *Reader) Auxs(i uint32) []Aux + func (r *Reader) BytesAt(off uint32, len int) []byte + func (r *Reader) Data(i uint32) []byte + func (r *Reader) DataOff(i uint32) uint32 + func (r *Reader) DataSize(i uint32) int + func (r *Reader) File(i int) string + func (r *Reader) Fingerprint() FingerprintType + func (r *Reader) Flags() uint32 + func (r *Reader) FromAssembly() bool + func (r *Reader) Hash(i uint32) *HashType + func (r *Reader) Hash64(i uint32) uint64 + func (r *Reader) NAux(i uint32) int + func (r *Reader) NFile() int + func (r *Reader) NHashed64def() int + func (r *Reader) NHasheddef() int + func (r *Reader) NNonpkgdef() int + func (r *Reader) NNonpkgref() int + func (r *Reader) NPkg() int + func (r *Reader) NRefFlags() int + func (r *Reader) NRefName() int + func (r *Reader) NReloc(i uint32) int + func (r *Reader) NSym() int + func (r *Reader) NeedNameExpansion() bool + func (r *Reader) Pkg(i int) string + func (r *Reader) Pkglist() []string + func (r *Reader) ReadOnly() bool + func (r *Reader) RefFlags(i int) *RefFlags + func (r *Reader) RefName(i int) *RefName + func (r *Reader) Reloc(i uint32, j int) *Reloc + func (r *Reader) RelocOff(i uint32, j int) uint32 + func (r *Reader) Relocs(i uint32) []Reloc + func (r *Reader) Shared() bool + func (r *Reader) StringAt(off uint32, len uint32) string + func (r *Reader) StringRef(off uint32) string + func (r *Reader) Sym(i uint32) *Sym + func (r *Reader) SymOff(i uint32) uint32 + type RefFlags [RefFlagsSize]byte + func (r *RefFlags) Flag() uint8 + func (r *RefFlags) Flag2() uint8 + func (r *RefFlags) SetFlag(x uint8) + func (r *RefFlags) SetFlag2(x uint8) + func (r *RefFlags) SetSym(x SymRef) + func (r *RefFlags) Sym() SymRef + func (r *RefFlags) Write(w *Writer) + type RefName [RefNameSize]byte + func (n *RefName) Name(r *Reader) string + func (n *RefName) SetName(x string, w *Writer) + func (n *RefName) SetSym(x SymRef) + func (n *RefName) Sym() SymRef + func (n *RefName) Write(w *Writer) + type Reloc [RelocSize]byte + func (r *Reloc) Add() int64 + func (r *Reloc) Off() int32 + func (r *Reloc) Set(off int32, size uint8, typ uint16, add int64, sym SymRef) + func (r *Reloc) SetAdd(x int64) + func (r *Reloc) SetOff(x int32) + func (r *Reloc) SetSiz(x uint8) + func (r *Reloc) SetSym(x SymRef) + func (r *Reloc) SetType(x uint16) + func (r *Reloc) Siz() uint8 + func (r *Reloc) Sym() SymRef + func (r *Reloc) Type() uint16 + func (r *Reloc) Write(w *Writer) + type Sym [SymSize]byte + func (s *Sym) ABI() uint16 + func (s *Sym) Align() uint32 + func (s *Sym) Dupok() bool + func (s *Sym) Flag() uint8 + func (s *Sym) Flag2() uint8 + func (s *Sym) IsDict() bool + func (s *Sym) IsGoType() bool + func (s *Sym) IsItab() bool + func (s *Sym) Leaf() bool + func (s *Sym) Local() bool + func (s *Sym) Name(r *Reader) string + func (s *Sym) NameLen(r *Reader) int + func (s *Sym) NoSplit() bool + func (s *Sym) ReflectMethod() bool + func (s *Sym) SetABI(x uint16) + func (s *Sym) SetAlign(x uint32) + func (s *Sym) SetFlag(x uint8) + func (s *Sym) SetFlag2(x uint8) + func (s *Sym) SetName(x string, w *Writer) + func (s *Sym) SetSiz(x uint32) + func (s *Sym) SetType(x uint8) + func (s *Sym) Siz() uint32 + func (s *Sym) Type() uint8 + func (s *Sym) Typelink() bool + func (s *Sym) UsedInIface() bool + func (s *Sym) Write(w *Writer) + type SymRef struct + PkgIdx uint32 + SymIdx uint32 + func (s SymRef) IsZero() bool + type Writer struct + func NewWriter(wr *bio.Writer) *Writer + func (w *Writer) AddString(s string) + func (w *Writer) Bytes(s []byte) + func (w *Writer) Offset() uint32 + func (w *Writer) RawString(s string) + func (w *Writer) StringRef(s string) + func (w *Writer) Uint16(x uint16) + func (w *Writer) Uint32(x uint32) + func (w *Writer) Uint64(x uint64) + func (w *Writer) Uint8(x uint8)