thebabush / go-hfuzz

gluing honggfuzz and go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

make clean
make

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 [...]
[...]

About

gluing honggfuzz and go


Languages

Language:Go 86.1%Language:Makefile 13.9%