fuzzing

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fuzz

func Fuzz(data []byte) int

In this fuzzer we split the input into 3 chunks: 1: the first byte - Is converted to an int, and

that int determines the number of command-line
calls the fuzzer will make.

2: The next n bytes where n is equal to the int from

the first byte. These n bytes are converted to
a corresponding command and represent which
commands will be called.

3: The rest of the data array should have a length

that is divisible by the number of calls.
This part is split up into equally large chunks,
and each chunk is used as parameters for the
corresponding command.

func FuzzLoadTable added in v0.13.0

func FuzzLoadTable(data []byte) int

func FuzzTabletManagerExecuteFetchAsDba added in v0.13.0

func FuzzTabletManagerExecuteFetchAsDba(data []byte) int

func FuzzUnmarshalJSON added in v0.13.0

func FuzzUnmarshalJSON(data []byte) int

func IsDivisibleBy

func IsDivisibleBy(n int, divisibleby int) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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