{"modulePath":"github.com/CodeIntelligenceTesting/gofuzz","version":"v0.0.0-20230209084330-8c53acf957e2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package hook\n\n## Functions\n\n```go\nfunc ClearHooks()\n```\n\n```go\nfunc NodeId(n ast.Node, file string, fSet *token.FileSet) *ast.BasicLit\n```\n\n```go\nfunc RegisterDefaultHooks(disabledSanitizers []string)\n```\n\n```go\nfunc RegisterFunctionHook(functionName, packagePath, hookName string)\n```\n\n```go\nfunc RegisterMethodHook(methodName, receiverType, hookName string)\n```\n\n```go\nfunc SetSanitizersPackagePath(pkgPath string)\n```\n\n## Types\n\n```go\ntype FunctionHook struct {\n\tFunctionName string\n\tPackagePath  string\n\tHookName     string\n}\n```\n\n```go\nfunc MatchingFunctionHook(function, pkg string) *FunctionHook\n```\n\n```go\ntype Hooks struct {\n\tFunctions []FunctionHook\n\tMethods   []MethodHook\n}\n```\n\n```go\ntype IdFunction = func(n ast.Node, file string, fSet *token.FileSet) *ast.BasicLit\n```\n\n```go\ntype MethodHook struct {\n\tMethodName   string\n\tReceiverType string\n\tHookName     string\n}\n```\n\n```go\nfunc MatchingMethodHook(method, receiverType string) *MethodHook\n```\n\n```go\ntype Transformer struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTransformer(file *ast.File, fileSet *token.FileSet, filePath string, typeInfo *types.Info, hookIdFn IdFunction) *Transformer\n```\n\n```go\nfunc (t *Transformer) TransformFile() int\n```\n\n","path":"github.com/CodeIntelligenceTesting/gofuzz/pkg/hook","name":"hook","synopsis":"","isRedistributable":true}
