Documentation
¶
Index ¶
Constants ¶
View Source
const ( DW_OP_addr = 0x03 // type in elf binary UTYPE_VAR string = "Variable" UTYPE_STRUCT string = "StructType" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
Path string
SymTable *gosym.Table
// following fields are parsed from binary dwarf during starting
GoVerAddr uint64 // parsed vma of runtime.buildVersion
GStruct *Strt // parsed runtime.g struct
MStruct *Strt // parsed runtime.m struct
PStruct *Strt // parsed runtime.p struct
GobufStruct *Strt // parsed runtime.gobuf struct
SchedtStruct *Strt // parsed runtime.schedt struct
SchedAddr uint64 // parsed vma of runtime.sched
AllglenAddr uint64 // parsed vma of runtime.allglen
AllgsAddr uint64 // parsed vma of runtime.allgs
AllpAddr uint64 // parsed vma of runtime.allp
GomaxprocsAddr uint64 // parsed vma of runtime.gomaxprocs
// contains filtered or unexported fields
}
func (*Binary) Initialize ¶
Initialize will pre parse some info from elf binary
type Location ¶
Click to show internal directories.
Click to hide internal directories.