GitHub - thebabush/go-hfuzz: gluing honggfuzz and go (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Repository files navigation

go-hfuzz

Go bindings for honggfuzz.

NOTE: this module does NOT instrument your code automatically. If you want that, you probably want to use go's built-in fuzzing support.

Install

Example

cmd/simple-test/main.go.

Test

mkdir -p /tmp/in ./honggfuzz/honggfuzz -P -i /tmp/in -o /tmp/out --crashdir /tmp/crash -- ./cmd/simple-test/simple-test

...wait until the crash and then:

$ xxd /tmp/crash/* 00000000: c0ca f16a dead beef [...] [...]