Versions in this module Expand all Collapse all v0 v0.0.19 Jun 20, 2023 v0.0.18 Jun 20, 2023 v0.0.17 Jun 20, 2023 v0.0.16 Jun 20, 2023 v0.0.15 Jun 20, 2023 v0.0.14 Jun 20, 2023 v0.0.13 Jun 20, 2023 v0.0.12 Jun 20, 2023 v0.0.10 Jun 20, 2023 v0.0.9 Jun 20, 2023 v0.0.8 Jun 20, 2023 v0.0.7 Jun 20, 2023 v0.0.6 Jun 20, 2023 v0.0.5 Jun 20, 2023 v0.0.4 Jun 20, 2023 v0.0.3 Jun 20, 2023 v0.0.2 Jun 20, 2023 v0.0.1 Jun 20, 2023 Changes in this version + var ErrUnknownPC = errors.New("ErrUnknownPC") + type AddrType struct + type ArrayType struct + Count int64 + StrideBitSize int64 + Type Type + func (t *ArrayType) Size() int64 + func (t *ArrayType) String() string + type Attr uint32 + const AttrAbstractOrigin + const AttrAccessibility + const AttrAddrBase + const AttrAddrClass + const AttrAlignment + const AttrAllocated + const AttrArtificial + const AttrAssociated + const AttrBaseTypes + const AttrBinaryScale + const AttrBitOffset + const AttrBitSize + const AttrByteSize + const AttrCallAllCalls + const AttrCallAllSourceCalls + const AttrCallAllTailCalls + const AttrCallColumn + const AttrCallDataLocation + const AttrCallDataValue + const AttrCallFile + const AttrCallLine + const AttrCallOrigin + const AttrCallPC + const AttrCallParameter + const AttrCallReturnPC + const AttrCallTailCall + const AttrCallTarget + const AttrCallTargetClobbered + const AttrCallValue + const AttrCalling + const AttrCommonRef + const AttrCompDir + const AttrConstExpr + const AttrConstValue + const AttrContainingType + const AttrCount + const AttrDataBitOffset + const AttrDataLocation + const AttrDataMemberLoc + const AttrDecimalScale + const AttrDecimalSign + const AttrDeclColumn + const AttrDeclFile + const AttrDeclLine + const AttrDeclaration + const AttrDefaultValue + const AttrDefaulted + const AttrDeleted + const AttrDescription + const AttrDigitCount + const AttrDiscr + const AttrDiscrList + const AttrDiscrValue + const AttrDwoName + const AttrElemental + const AttrEncoding + const AttrEndianity + const AttrEntrypc + const AttrEnumClass + const AttrExplicit + const AttrExportSymbols + const AttrExtension + const AttrExternal + const AttrFrameBase + const AttrFriend + const AttrHighpc + const AttrIdentifierCase + const AttrImport + const AttrInline + const AttrIsOptional + const AttrLanguage + const AttrLinkageName + const AttrLocation + const AttrLoclistsBase + const AttrLowerBound + const AttrLowpc + const AttrMacroInfo + const AttrMacros + const AttrMainSubprogram + const AttrMutable + const AttrName + const AttrNamelistItem + const AttrNoreturn + const AttrObjectPointer + const AttrOrdering + const AttrPictureString + const AttrPriority + const AttrProducer + const AttrPrototyped + const AttrPure + const AttrRanges + const AttrRank + const AttrRecursive + const AttrReference + const AttrReturnAddr + const AttrRnglistsBase + const AttrRvalueReference + const AttrSegment + const AttrSibling + const AttrSignature + const AttrSmall + const AttrSpecification + const AttrStartScope + const AttrStaticLink + const AttrStmtList + const AttrStrOffsetsBase + const AttrStride + const AttrStrideSize + const AttrStringLength + const AttrStringLengthBitSize + const AttrStringLengthByteSize + const AttrThreadsScaled + const AttrTrampoline + const AttrType + const AttrUpperBound + const AttrUseLocation + const AttrUseUTF8 + const AttrVarParam + const AttrVirtuality + const AttrVisibility + const AttrVtableElemLoc + func (a Attr) GoString() string + func (i Attr) String() string + type BasicType struct + BitOffset int64 + BitSize int64 + DataBitOffset int64 + func (b *BasicType) Basic() *BasicType + func (t *BasicType) String() string + type BoolType struct + type CharType struct + type Class int + const ClassAddrPtr + const ClassAddress + const ClassBlock + const ClassConstant + const ClassExprLoc + const ClassFlag + const ClassLinePtr + const ClassLocList + const ClassLocListPtr + const ClassMacPtr + const ClassRangeListPtr + const ClassReference + const ClassReferenceAlt + const ClassReferenceSig + const ClassRngList + const ClassRngListsPtr + const ClassStrOffsetsPtr + const ClassString + const ClassStringAlt + const ClassUnknown + func (i Class) GoString() string + func (i Class) String() string + type CommonType struct + ByteSize int64 + Name string + func (c *CommonType) Common() *CommonType + func (c *CommonType) Size() int64 + type ComplexType struct + type Data struct + func New(abbrev, aranges, frame, info, line, pubnames, ranges, str []byte) (*Data, error) + func (d *Data) AddSection(name string, contents []byte) error + func (d *Data) AddTypes(name string, types []byte) error + func (d *Data) LineReader(cu *Entry) (*LineReader, error) + func (d *Data) Ranges(e *Entry) ([][2]uint64, error) + func (d *Data) Reader() *Reader + func (d *Data) Type(off Offset) (Type, error) + type DecodeError struct + Err string + Name string + Offset Offset + func (e DecodeError) Error() string + type DotDotDotType struct + func (t *DotDotDotType) String() string + type Entry struct + Children bool + Field []Field + Offset Offset + Tag Tag + func (e *Entry) AttrField(a Attr) *Field + func (e *Entry) Val(a Attr) any + type EnumType struct + EnumName string + Val []*EnumValue + func (t *EnumType) String() string + type EnumValue struct + Name string + Val int64 + type Field struct + Attr Attr + Class Class + Val any + type FloatType struct + type FuncType struct + ParamType []Type + ReturnType Type + func (t *FuncType) String() string + type IntType struct + type LineEntry struct + Address uint64 + BasicBlock bool + Column int + Discriminator int + EndSequence bool + EpilogueBegin bool + File *LineFile + ISA int + IsStmt bool + Line int + OpIndex int + PrologueEnd bool + type LineFile struct + Length int + Mtime uint64 + Name string + type LineReader struct + func (r *LineReader) Files() []*LineFile + func (r *LineReader) Next(entry *LineEntry) error + func (r *LineReader) Reset() + func (r *LineReader) Seek(pos LineReaderPos) + func (r *LineReader) SeekPC(pc uint64, entry *LineEntry) error + func (r *LineReader) Tell() LineReaderPos + type LineReaderPos struct + type Offset uint32 + type PtrType struct + Type Type + func (t *PtrType) String() string + type QualType struct + Qual string + Type Type + func (t *QualType) Size() int64 + func (t *QualType) String() string + type Reader struct + func (r *Reader) AddressSize() int + func (r *Reader) ByteOrder() binary.ByteOrder + func (r *Reader) Next() (*Entry, error) + func (r *Reader) Seek(off Offset) + func (r *Reader) SeekPC(pc uint64) (*Entry, error) + func (r *Reader) SkipChildren() + type StructField struct + BitOffset int64 + BitSize int64 + ByteOffset int64 + ByteSize int64 + DataBitOffset int64 + Name string + Type Type + type StructType struct + Field []*StructField + Incomplete bool + Kind string + StructName string + func (t *StructType) Defn() string + func (t *StructType) String() string + type Tag uint32 + const TagAccessDeclaration + const TagArrayType + const TagAtomicType + const TagBaseType + const TagCallSite + const TagCallSiteParameter + const TagCatchDwarfBlock + const TagClassType + const TagCoarrayType + const TagCommonDwarfBlock + const TagCommonInclusion + const TagCompileUnit + const TagCondition + const TagConstType + const TagConstant + const TagDwarfProcedure + const TagDynamicType + const TagEntryPoint + const TagEnumerationType + const TagEnumerator + const TagFileType + const TagFormalParameter + const TagFriend + const TagGenericSubrange + const TagImmutableType + const TagImportedDeclaration + const TagImportedModule + const TagImportedUnit + const TagInheritance + const TagInlinedSubroutine + const TagInterfaceType + const TagLabel + const TagLexDwarfBlock + const TagMember + const TagModule + const TagMutableType + const TagNamelist + const TagNamelistItem + const TagNamespace + const TagPackedType + const TagPartialUnit + const TagPointerType + const TagPtrToMemberType + const TagReferenceType + const TagRestrictType + const TagRvalueReferenceType + const TagSetType + const TagSharedType + const TagSkeletonUnit + const TagStringType + const TagStructType + const TagSubprogram + const TagSubrangeType + const TagSubroutineType + const TagTemplateAlias + const TagTemplateTypeParameter + const TagTemplateValueParameter + const TagThrownType + const TagTryDwarfBlock + const TagTypeUnit + const TagTypedef + const TagUnionType + const TagUnspecifiedParameters + const TagUnspecifiedType + const TagVariable + const TagVariant + const TagVariantPart + const TagVolatileType + const TagWithStmt + func (i Tag) String() string + func (t Tag) GoString() string + type Type interface + Common func() *CommonType + Size func() int64 + String func() string + type TypedefType struct + Type Type + func (t *TypedefType) Size() int64 + func (t *TypedefType) String() string + type UcharType struct + type UintType struct + type UnspecifiedType struct + type UnsupportedType struct + Tag Tag + func (t *UnsupportedType) String() string + type VoidType struct + func (t *VoidType) String() string