nim-eth/tests/fuzzing
Kim De Mey 28a8d52308
Fix enr deserialization crash + more tests + fuzz test (#274)
* Fix enr deserialization crash + more tests + fuzz test

* CI: Install depsOnly
2020-07-11 01:28:53 +02:00
..
discovery Update fuzzing tests now that the helpers have moved to ntu 2020-06-12 18:58:05 +03:00
enr Fix enr deserialization crash + more tests + fuzz test (#274) 2020-07-11 01:28:53 +02:00
rlp Update fuzzing tests now that the helpers have moved to ntu 2020-06-12 18:58:05 +03:00
rlpx use bearssl rng throughout (#265) 2020-07-07 10:56:26 +02:00
whisper Add whisper encode decode test and rename rlp test 2019-10-02 14:45:29 +03:00
readme.md Small fuzzing readme correction [skip ci] 2020-07-09 11:01:35 +02:00

readme.md

Fuzzing Tests

The fuzzing tests use the fuzzing templates from nim-testutils.

For more details see the fuzzing readme of nim-testutils.

Prerequisites

As explained in nim-testutils fuzzing readme, first install the fuzzer you want to run.

Next install nim-testutils its ntu application.

E.g. by running the nim-testutils nimble install:

nimble install testutils

How to run

To start fuzzing a testcase run following command:

# For libFuzzer
ntu fuzz --fuzzer:libFuzzer rlp/rlp_inspect
# For afl
ntu fuzz --fuzzer:afl rlp/rlp_inspect