Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

thebabush/go-hfuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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