file2fuzz
commandThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
file2fuzz converts binary files, such as those used by go-fuzz, to the Gofuzzing corpus format.
Usage:
file2fuzz [-o output] [input...]
The default behavior is to read input from stdin and write the convertedoutput to stdout. If any position arguments are provided stdin is ignoredand the arguments are assumed to be input files to convert.
The -o flag provides a path to write output files to. If only one positionalargument is specified it may be a file path or an existing directory, if there aremultiple inputs specified it must be a directory. If a directory is providedthe name of the file will be the SHA-256 hash of its contents.