filecoin-project / go-amt-ipld

Implementation of an array mapped trie using go and ipld
Other
9 stars 15 forks source link

Add a fuzz tester #31

Closed Stebalien closed 1 year ago

Stebalien commented 4 years ago

So far, this has caught https://github.com/filecoin-project/go-amt-ipld/pull/30/files#r476192824. We'll probably need to make it a bit smarter to catch any more bugs.

Stebalien commented 4 years ago

Could you elaborate on the directions we can move in to improve our chances of finding more bugs?

Currently, it's very random. We could tell the fuzzer to "prefer" some inputs. We could also weight certain operations more heavily.