Documentation ¶
Index ¶
- Variables
- func CopyToLocation(location uintptr, data []byte)
- func DwarfTree(dw *dwarf.Data) (map[string]*godwarf.Tree, error)
- func GetPtr(t interface{}) uintptr
- func LoadTree(off dwarf.Offset, dw *dwarf.Data) (*godwarf.Tree, error)
- func MakeFunc(tree *godwarf.Tree, dw *dwarf.Data) (reflect.Type, error)
- func MakeType(typ godwarf.Type, dw *dwarf.Data) (reflect.Type, error)
- func MprotectCrossPage(addr uintptr, length int, prot int)
- func PageStart(ptr uintptr) uintptr
- func RawMemoryAccess(p uintptr, length int) []byte
- type Action
- type ActionFunc
- type DelayPoint
- type Guard
- type HijackPoint
- type PanicPoint
- type Request
- type ReturnPoint
- type Runtime
- type SetPoint
- type Tree
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DEBUG = "" ErrUnsupportAction = errors.New("unsupport action") ErrPointNotFound = errors.New("function point not found") ErrPatchedAlready = errors.New("patched already") )
View Source
var ErrTypeUnsupported = errors.New("type unsupported")
View Source
var (
ErrUnsupportedType = errors.New("unsupported type")
)
Functions ¶
func CopyToLocation ¶
func MprotectCrossPage ¶
func RawMemoryAccess ¶
Types ¶
type DelayPoint ¶
type DelayPoint struct { HijackPoint `mapstructure:",squash"` Val int }
type HijackPoint ¶
type PanicPoint ¶
type PanicPoint struct { HijackPoint `mapstructure:",squash"` Val string }
type ReturnPoint ¶
type ReturnPoint struct { HijackPoint `mapstructure:",squash"` Index int Val interface{} }
type SetPoint ¶
type SetPoint struct { HijackPoint `mapstructure:",squash"` Index int Val interface{} }
Click to show internal directories.
Click to hide internal directories.