monero/tests
moneromooo-monero 841231e5bd
Add fuzz testing using american fuzzy lop
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.
2017-06-24 16:46:18 +01:00
..
core_proxy Move txpool to the database 2017-05-25 22:23:37 +01:00
core_tests core_tests: fix tests failing due to new txpool code requitring batch transactions 2017-06-09 20:49:59 +01:00
crypto changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
daemon_tests changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
data Add fuzz testing using american fuzzy lop 2017-06-24 16:46:18 +01:00
difficulty update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
functional_tests changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
fuzz Add fuzz testing using american fuzzy lop 2017-06-24 16:46:18 +01:00
gtest updated gtest (added missing files) 2016-01-25 21:19:57 +02:00
hash changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
libwallet_api_tests update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
net_load_tests update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
performance_tests changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
unit_tests blockchain_db: add a txpool tx getter which returns existence 2017-06-11 15:36:48 +01:00
CMakeLists.txt Add fuzz testing using american fuzzy lop 2017-06-24 16:46:18 +01:00
cryptolib.pl update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
cryptotest.pl update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
hash-target.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
io.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00