argfuzz

package
v0.1.63 Latest Latest
Warning

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

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

Documentation

Overview

Package argfuzz implements the randomizers, mutators, and fuzzers that can be utilized by gofuzz. It extends on gofuzz default mutation with functionality for manipulating and mutating the byte slices of the desired fuzzed inputs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRandomCharactersToEnd

func AddRandomCharactersToEnd(arg []byte) []byte

func AddRandomCharactersToMiddle

func AddRandomCharactersToMiddle(arg []byte) []byte

func AddRandomCharactersToStart

func AddRandomCharactersToStart(arg []byte) []byte

func AddSpacesRandomly

func AddSpacesRandomly(arg []byte) []byte

func ByteMutator

func ByteMutator(arg []byte) []byte

func DeleteRandomCharactersInEnd

func DeleteRandomCharactersInEnd(arg []byte) []byte

func DeleteRandomCharactersInMiddle

func DeleteRandomCharactersInMiddle(arg []byte) []byte

func DeleteRandomCharactersInStart

func DeleteRandomCharactersInStart(arg []byte) []byte

func DuplicateBytes

func DuplicateBytes(arg []byte) []byte

func FuzzExecutor

func FuzzExecutor(arg []byte) []byte

func FuzzRPCArgs

func FuzzRPCArgs(args *[]interface{}, c fuzz.Continue)

func RandomByte

func RandomByte() byte

func RandomBytes

func RandomBytes() []byte

func RandomBytesOfCharactersOrHexBytes

func RandomBytesOfCharactersOrHexBytes() []byte

func RandomBytesSize

func RandomBytesSize(size int) []byte

func RandomHexBytes

func RandomHexBytes() []byte

func RandomWhitespace

func RandomWhitespace() byte

func ReplaceWithRandomCharacters

func ReplaceWithRandomCharacters(arg []byte) []byte

func SetSeed

func SetSeed(seed *int64)

Types

type FuzzFunc

type FuzzFunc func(arg []byte) []byte

Jump to

Keyboard shortcuts

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