Page MenuHomePhabricator

tests: Add fuzzing harnesses for classes/functions in policy/fees.h, checkqueue.h and cuckoocache.h. Add fuzzing coverage.
ClosedPublic

Authored by Fabien on Jan 20 2021, 16:27.

Details

Summary
Add fuzzing harness for FeeFilterRounder
Add fuzzing harness for classes/functions in checkqueue.h
Add fuzzing harness for classes/functions in cuckoocache.h
Add coverage of {,Incremental}DynamicUsage(const std::set<X, Y>&s) to existing fuzzer
Add coverage of GetVirtualTransactionSize(...) to existing fuzzer
Add fuzzing harness for AdditionOverflow(...)

Backport of core PR18565.

Our cuckoocache requires a class as key since D4643.

Test Plan
ninja bitcoin-fuzzers
./test/fuzz/test_runner.py <path_to_corpus>

Diff Detail

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