fuzztagx

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodLeft  = "("
	MethodRight = ")"
)
View Source
const YakHotPatchErr = "__YakHotPatchErr@"

Variables

This section is empty.

Functions

func ExecuteSimpleTagWithStringHandler added in v1.2.9

func ExecuteSimpleTagWithStringHandler(code string, funcMap map[string]func(string2 string) []string) ([]string, error)

func ExecuteWithStringHandler

func ExecuteWithStringHandler(code string, funcMap map[string]func(string2 string) []string) ([]string, error)

func GetResultVerbose

func GetResultVerbose(f *parser.FuzzResult) []string

func NewGenerator

func NewGenerator(code string, table map[string]*parser.TagMethod, isSimple, syncTag bool) (*parser.Generator, error)

func ParseFuzztag

func ParseFuzztag(code string, simple bool) ([]parser.Node, error)

Types

type FuzzTag

type FuzzTag struct {
	parser.BaseTag
}

func (*FuzzTag) Exec

func (f *FuzzTag) Exec(raw *parser.FuzzResult, methods ...map[string]*parser.TagMethod) ([]*parser.FuzzResult, error)

type RawTag

type RawTag struct {
	parser.BaseTag
}

func (*RawTag) Exec

func (r *RawTag) Exec(result *parser.FuzzResult, m ...map[string]*parser.TagMethod) ([]*parser.FuzzResult, error)

type SimpleFuzzTag added in v1.2.9

type SimpleFuzzTag struct {
	parser.BaseTag
}

func (*SimpleFuzzTag) Exec added in v1.2.9

func (f *SimpleFuzzTag) Exec(raw *parser.FuzzResult, methods ...map[string]*parser.TagMethod) ([]*parser.FuzzResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL