Documentation
¶
Index ¶
- Constants
- func FindFileTab(filename string, namemap map[string]int, filetab []uint32) int32
- func Grow(bytes *[]byte, size int)
- func IsHasItabPrefix(name string) bool
- func IsHasStringPrefix(name string) bool
- func IsHasTypePrefix(name string) bool
- func PathToPrefix(s string) string
- func ReplacePkgPath(name, pkgpath string) string
- type Archive
- type CgoImport
- type Epilogue
- type Func
- type FuncInfo
- type InlTreeNode
- type InlinedCall
- type ObjSymbol
- type Pkg
- type Reloc
- type Sym
Constants ¶
View Source
const ( InvalidOffset = int(-1) InvalidIndex = uint32(0xFFFFFFFF) InlinedCallSize = int(unsafe.Sizeof(InlinedCall{})) )
View Source
const ( EmptyString = `` UNRESOLVED_SYMREF_PREFIX = "unresolvedSymRef#" UNRESOLVED_SYMREF_FMT = UNRESOLVED_SYMREF_PREFIX + "%d#%d" ABIINTERNAL_SUFFIX = ".abiinternal" ABI0_SUFFIX = ".abi0" )
Variables ¶
This section is empty.
Functions ¶
func FindFileTab ¶ added in v0.0.18
func IsHasItabPrefix ¶ added in v0.0.20
func IsHasStringPrefix ¶ added in v0.0.20
func IsHasTypePrefix ¶ added in v0.0.20
func PathToPrefix ¶ added in v0.0.19
func ReplacePkgPath ¶ added in v0.0.19
Types ¶
type Archive ¶ added in v0.0.20
type Archive struct {
// contains filtered or unexported fields
}
func (Archive) MarshalBinary ¶ added in v0.0.20
func (*Archive) UnmarshalBinary ¶ added in v0.0.20
type InlTreeNode ¶
type InlinedCall ¶ added in v0.0.19
type InlinedCall struct {
// contains filtered or unexported fields
}
/ inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
func InitInlinedCall ¶ added in v0.0.19
func InitInlinedCall(inl InlTreeNode, funcid uint8, namemap map[string]int, filetab []uint32) InlinedCall
type Pkg ¶
type Pkg struct {
Syms map[string]*ObjSymbol
CgoImports map[string]*CgoImport
GoArchive *Archive
SymIndex []string
Arch string
PkgPath string
File string
ImportPkgs []string
CUFiles []string
CUOffset int32
}
func (*Pkg) AddCgoFuncs ¶ added in v0.0.20
func (*Pkg) AddSymIndex ¶ added in v0.0.20
func (*Pkg) ResolveSymbols ¶ added in v0.0.20
Click to show internal directories.
Click to hide internal directories.