Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PatchGuard ¶
type PatchGuard = bouk.PatchGuard
func Patch ¶
func Patch(target, replacement interface{}) *PatchGuard
Patch replaces a function with another
func PatchByFullSymbolName ¶
func PatchByFullSymbolName(symbolName string, patchFunc interface{}) *PatchGuard
PatchByFullSymbolName needs user to provide the full symbol path
func PatchInstanceMethod ¶
func PatchInstanceMethod(target reflect.Type, methodName string, replacement interface{}) *PatchGuard
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
goobj
Package goobj implements reading of Go object files and archives.
|
Package goobj implements reading of Go object files and archives. |
objabi
Originally, Go object files were Plan 9 object files, but no longer.
|
Originally, Go object files were Plan 9 object files, but no longer. |
objfile
Package objfile implements portable access to OS-specific executable files.
|
Package objfile implements portable access to OS-specific executable files. |
xcoff
Package xcoff implements access to XCOFF (Extended Common Object File Format) files.
|
Package xcoff implements access to XCOFF (Extended Common Object File Format) files. |
Click to show internal directories.
Click to hide internal directories.