file2fuzz

command
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

file2fuzz converts binary files, such as those used by go-fuzz, to the Go fuzzing corpus format.

Usage:

file2fuzz [-o output] [input...]

The default behavior is to read input from stdin and write the converted output to stdout. If any position arguments are provided stdin is ignored and the arguments are assumed to be input files to convert.

The -o flag provides an path to write output files to. If only one positional argument is specified it may be a file path or an existing directory, if there are multiple inputs specified it must be a directory. If a directory is provided the name of the file will be the SHA-256 hash of its contents.

Jump to

Keyboard shortcuts

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