fuzztagx

package
v1.3.4-alpha4 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: AGPL-3.0 Imports: 7 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(ctx context.Context, raw *parser.FuzzResult, yield func(result *parser.FuzzResult), methods map[string]*parser.TagMethod) error

type RawTag

type RawTag struct {
	parser.BaseTag
}

func (*RawTag) Exec

func (r *RawTag) Exec(ctx context.Context, raw *parser.FuzzResult, yield func(result *parser.FuzzResult), methodTable map[string]*parser.TagMethod) error

type ReaderGenerator added in v1.3.3

type ReaderGenerator struct {
	// contains filtered or unexported fields
}

func NewTagReader added in v1.3.3

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

func (*ReaderGenerator) Next added in v1.3.3

func (r *ReaderGenerator) Next() bool

func (*ReaderGenerator) Result added in v1.3.3

func (r *ReaderGenerator) Result() (io.Reader, 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(ctx context.Context, raw *parser.FuzzResult, yield func(result *parser.FuzzResult), methods map[string]*parser.TagMethod) error

type TagReader added in v1.3.3

type TagReader struct {
	// contains filtered or unexported fields
}

func (*TagReader) Read added in v1.3.3

func (t *TagReader) Read(p []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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