Can be run with ./test/fuzz/test_runner.py after building as described in doc/fuzzing.md
Backport of core PR15295:
https://github.com/bitcoin/bitcoin/pull/15295/files
Depends on D4615.
Differential D4627
qa: Add test/fuzz/test_runner.py Fabien on Dec 4 2019, 11:51. Authored by Tags None Subscribers None
Details
Can be run with ./test/fuzz/test_runner.py after building as described in doc/fuzzing.md Backport of core PR15295: Depends on D4615. export CC=clang CXX=clang++ ../configure --enable-fuzz --with-sanitizers=fuzzer,address \ --disable-wallet \ --disable-bench \ --with-utils=no \ --with-daemon=no \ --with-libs=no \ --with-gui=no \ --with-seeder=no make mkdir -p test/fuzz cp ../test/fuzz/test_runner.py test/fuzz/ ./test/fuzz/test_runner.py -l DEBUG <path_to_corpus> cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" \ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ninja bitcoin-fuzzers link-fuzz-test_runner.py ./test/fuzz/test_runner.py -l DEBUG <path_to_corpus> Check the corpus is run exactly once for all the tests.
Diff Detail
Event Timeline
|