Versions in this module Expand all Collapse all v1 v1.5.0 Jun 28, 2021 Changes in this version + const AttrGoElem + const AttrGoEmbeddedField + const AttrGoKey + const AttrGoKind + const AttrGoPackageName + const AttrGoRuntimeType + func GetDebugSectionElf(f *elf.File, name string) ([]byte, error) + func GetDebugSectionMacho(f *macho.File, name string) ([]byte, error) + func GetDebugSectionPE(f *pe.File, name string) ([]byte, error) + type AddrType struct + type ArrayType struct + Count int64 + StrideBitSize int64 + Type Type + func (t *ArrayType) Align() int64 + func (t *ArrayType) Size() int64 + func (t *ArrayType) String() string + type BasicType struct + BitOffset int64 + BitSize int64 + func (b *BasicType) Basic() *BasicType + func (t *BasicType) Align() int64 + func (t *BasicType) String() string + type BoolType struct + type ChanType struct + ElemType Type + func (t *ChanType) String() string + type CharType struct + type CommonType struct + ByteSize int64 + Index int + Name string + Offset dwarf.Offset + ReflectKind reflect.Kind + func (c *CommonType) Align() int64 + func (c *CommonType) Common() *CommonType + func (c *CommonType) Size() int64 + type ComplexType struct + type DotDotDotType struct + func (t *DotDotDotType) String() string + type Entry interface + Val func(dwarf.Attr) interface{} + func LoadAbstractOrigin(entry *dwarf.Entry, aordr *dwarf.Reader) (Entry, dwarf.Offset) + type EnumType struct + EnumName string + Val []*EnumValue + func (t *EnumType) String() string + type EnumValue struct + Name string + Val int64 + type FloatType struct + type FuncType struct + ParamType []Type + ReturnType Type + func (t *FuncType) String() string + type IntType struct + type InterfaceType struct + func (t *InterfaceType) String() string + type MapType struct + ElemType Type + KeyType Type + func (t *MapType) String() string + 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 SliceType struct + ElemType Type + func (t *SliceType) String() string + type StringType struct + func (t *StringType) String() string + type StructField struct + BitOffset int64 + BitSize int64 + ByteOffset int64 + ByteSize int64 + Embedded bool + Name string + Type Type + type StructType struct + Field []*StructField + Incomplete bool + Kind string + StructName string + func (t *StructType) Align() int64 + func (t *StructType) Defn(recCheck recCheck) string + func (t *StructType) Size() int64 + func (t *StructType) String() string + type Tree struct + Children []*Tree + Offset dwarf.Offset + Ranges [][2]uint64 + Tag dwarf.Tag + func EntryToTree(entry *dwarf.Entry) *Tree + func LoadTree(off dwarf.Offset, dw *dwarf.Data, staticBase uint64) (*Tree, error) + func (n *Tree) ContainsPC(pc uint64) bool + func (n *Tree) Type(dw *dwarf.Data, index int, typeCache map[dwarf.Offset]Type) (Type, error) + type Type interface + Align func() int64 + Common func() *CommonType + Size func() int64 + String func() string + func ReadType(d *dwarf.Data, index int, off dwarf.Offset, typeCache map[dwarf.Offset]Type) (Type, error) + 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 VoidType struct + func (t *VoidType) String() string