Skip to content

Latest commit

 

History

History
 
 

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Fuzzing canvas

Fuzz testing for canvas using go-fuzz. Pull requests to add more corpora or testers are appreciated.

To run the tests, install go-fuzz:

GO111MODULE=off go get -u github.com/dvyukov/go-fuzz/go-fuzz github.com/dvyukov/go-fuzz/go-fuzz-build

cd $GOPATH/github.com/tdewolff/canvas/tests/font

go-fuzz-build
go-fuzz

If restarts is not close to 1/10000, something is probably wrong. If not finding new corpus for a while, restart the fuzzer.