httpheader_fuzz

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: MIT Imports: 3 Imported by: 0

README

Fuzzing httpheader with go-fuzz

Here are some tools for running go-fuzz on httpheader's parsers.

Install go-fuzz:

go get -u github.com/dvyukov/go-fuzz/go-fuzz{,-build}

The following instructions assume a GNU userland. If they don't work for you, run go-fuzz-build and go-fuzz manually.

Fuzz each header (for which a *.fuzz directory has been prepared) for several minutes:

make *.fuzz

Fuzz the WWW-Authenticate header for an hour:

make WWW-Authenticate.fuzz TIME=1h

Clean up everything generated by go-fuzz (will error if any crashers have been found):

make clean

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuzzAccept

func FuzzAccept(data []byte) int

func FuzzAuthorization

func FuzzAuthorization(data []byte) int

func FuzzCacheControl

func FuzzCacheControl(data []byte) int

func FuzzContentDisposition

func FuzzContentDisposition(data []byte) int

func FuzzForwarded

func FuzzForwarded(data []byte) int

func FuzzIfMatch

func FuzzIfMatch(data []byte) int
func FuzzLink(data []byte) int

func FuzzPrefer

func FuzzPrefer(data []byte) int

func FuzzUserAgent

func FuzzUserAgent(data []byte) int

Code generated by `make fuzz.go`. DO NOT EDIT.

func FuzzVia

func FuzzVia(data []byte) int

func FuzzWWWAuthenticate

func FuzzWWWAuthenticate(data []byte) int

func FuzzWarning

func FuzzWarning(data []byte) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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