Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemangleType ¶
type DemangleType string
const ( DemangleNone DemangleType = "NONE" DemangleSimplified DemangleType = "SIMPLIFIED" DemangleTemplates DemangleType = "TEMPLATES" DemangleFull DemangleType = "FULL" )
func (DemangleType) ToOptions ¶
func (dt DemangleType) ToOptions() []demangle.Option
type EmptyResolver ¶
type EmptyResolver struct{}
func (*EmptyResolver) Cleanup ¶
func (*EmptyResolver) Cleanup()
func (*EmptyResolver) Refresh ¶
func (*EmptyResolver) Refresh()
func (*EmptyResolver) Resolve ¶
func (*EmptyResolver) Resolve(uint64) Symbol
type ProcModule ¶
type ProcModule struct {
// contains filtered or unexported fields
}
func NewProcModule ¶
func NewProcModule(name string, procmap *proc.Map, path *procPath, opts *SymbolOptions) *ProcModule
func (*ProcModule) Cleanup ¶
func (m *ProcModule) Cleanup()
func (*ProcModule) Resolve ¶
func (m *ProcModule) Resolve(addr uint64) string
type ProcModuleType ¶
type ProcModuleType string
const ( UNKNOWN ProcModuleType = "UNKNOWN" EXEC ProcModuleType = "EXEC" SO ProcModuleType = "SO" VDSO ProcModuleType = "VDSO" )
type ProcSymbol ¶
type ProcSymbol struct {
// contains filtered or unexported fields
}
func NewProcSymbol ¶
func NewProcSymbol(pid int, opts *SymbolOptions) (*ProcSymbol, error)
func (*ProcSymbol) Cleanup ¶
func (s *ProcSymbol) Cleanup()
func (*ProcSymbol) Refresh ¶
func (s *ProcSymbol) Refresh()
func (*ProcSymbol) Resolve ¶
func (s *ProcSymbol) Resolve(addr uint64) Symbol
type Resolver ¶
func NewResolver ¶
func NewResolver(pid int, opts *SymbolOptions) (Resolver, error)
type SymbolOptions ¶
type SymbolOptions struct { DemangleType DemangleType UseDebugFile bool }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.