fuzzer

package
v0.0.0-...-ee37d40 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MutateSelection

func MutateSelection(input string, sentinel string, seed int64, iters int) (string, string, error)

MutateSelection takes an input, sentinel (both strings), a seed (int64), and a number of iterations. It then mutates the string, and returns the input with the selection (between sentinels) mutated.

func MutateSelectionASCII

func MutateSelectionASCII(input string, sentinel string, seed int64, iters int) (string, error)

MutateSelectionASCII takes an input, sentinel (both strings), a seed (int64), and a number of iterations. It then mutates the string, and returns the input with the selection (between sentinels) mutated in the ASCII range.

func MutateString

func MutateString(input string, seed int64, iters int) (string, error)

MutateString takes a string and a seed for a random number generator. Then, it randomly mutates a string and returns it

func MutateStringASCII

func MutateStringASCII(input string, seed int64, iters int) (string, error)

MutateStringASCII takes a string, a seed for a random number generator, and a number of iterations, and mutates a string, returning an ascii string

func RandomInt

func RandomInt(limit int, seed int64) (int, error)

RandomInt takes a limit and and a seed, and returns a random integer [0, limit)

func RandomString

func RandomString(length int, seed int64, iters int) (string, error)

RandomString takes a length as an int, a seed (int64) and a number of iterations. Then, it generates a random string of length "length"

func RandomStringASCII

func RandomStringASCII(length int, seed int64, iters int) (string, error)

RandomStringASCII takes a length (int), a seed for a PRNG (int64), and a number of iterations, and returns a randomly generated string of length "length"

Types

This section is empty.

Jump to

Keyboard shortcuts

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