<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/tests/data/fuzz/transaction, branch v0.14.0.2</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.14.0.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.14.0.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2017-06-24T15:46:18Z</updated>
<entry>
<title>Add fuzz testing using american fuzzy lop</title>
<updated>2017-06-24T15:46:18Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2017-06-24T11:38:41Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=841231e5bd0d90e8a57d6fd997701a70ef520730'/>
<id>urn:sha1:841231e5bd0d90e8a57d6fd997701a70ef520730</id>
<content type='text'>
Existing tests: block, transaction, signature, cold outputs,
cold transaction.

Data for these is in tests/data/fuzz.

A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg:

contrib/fuzz_testing/fuzz.sh signature

The fuzzer will run indefinitely, ^C to stop.

Fuzzing is currently supported for GCC only. I can't get CLANG
to build Monero here as it dies on some system headers, so if
someone wants to make it work on both, that'd be great.
In particular, the __AFL_LOOP construct should be made to work
so that a given run can fuzz multiple inputs, as the C++ load
time is substantial.
</content>
</entry>
</feed>
