Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type DwarfAssembly ¶
type DwarfAssembly interface { BinaryInfo() *proc.BinaryInfo LoadImage(path string, entryPoint uint64) error Close() error FindGlobal(name string) (reflect.Value, error) ForeachGlobal(fn func(name string, value reflect.Value) bool) ForeachType(f func(name string) bool) error FindType(name string) (reflect.Type, error) FindFuncEntry(name string) (*proc.Function, error) FindFuncPc(name string) (uint64, error) FindFuncType(name string, variadic bool) (reflect.Type, error) FindFunc(name string, variadic bool) (reflect.Value, error) ForeachFunc(f func(name string, pc uint64) bool) CallFunc(name string, variadic bool, args []reflect.Value) ([]reflect.Value, error) SearchPluginByName(name string) (lib string, addr uint64, err error) SearchPlugins() (libs []string, addrs []uint64, err error) }
func NewDwarfAssembly ¶
func NewDwarfAssembly() (DwarfAssembly, error)
type ModuleData ¶
type ModuleData struct {
// contains filtered or unexported fields
}
ModuleData counterpart to proc.moduleData
Click to show internal directories.
Click to hide internal directories.