fuzzdump

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

FuzzDump dumps the entries of a fuzz test corpus directory to the standard output.

It takes a fuzz test corpus directory path as a required argument, e.g.:

$ fuzzdump ./fuzz/FuzzMyFunc

The output format of a single-argument corpus is similar to a plain slice with the type omitted, e.g.:

{
	int(2),
	int(3),
	int(5),
	// ... etc.
}

The output format of a multiple-argument corpus is similar to a slice of structs, again, with the type omitted, e.g.:

{{
	int(8),
	string("foo"),
}, {
	int(13),
	string("bar"),
}, {
	int(21),
	string("qux"),
	// ... etc.
}}

Exit status codes:

0  success,
1  some files were invalid, but others could be dumped,
2  no valid corpus files were found,
3  another critical error occurred.

Jump to

Keyboard shortcuts

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