Page MenuHomePhabricator

[CMAKE] Build test_bitcoin_fuzzy
ClosedPublic

Authored by Fabien on Nov 29 2019, 13:32.

Details

Summary

Build the fuzzer glue executable.
Excluded from default build, as it makes no sense to build it without
instrumentation.

Test Plan
WARNING: the test plan will require you to clear your ccache once done.

Needs D4578 to pass:

cmake -GNinja .. -DCMAKE_C_COMPILER=afl-clang-fast \
  -DCMAKE_CXX_COMPILER=afl-clang-fast++
ninja test_bitcoin_fuzzy

Follow the instructions from fuzzing.md starting at section `Preparing
fuzzing` and check it runs as expected.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable