Page MenuHomePhabricator

tests: Add fuzzing harness for functions/classes in flatfile.h, merkleblock.h, random.h, serialize.h and span.h
ClosedPublic

Authored by Fabien on Jan 20 2021, 11:22.

Details

Summary
- Add fuzzing harness for functions/classes in flatfile.h
- Add fuzzing harness for functions/classes in merkleblock.h
- Add fuzzing harness for functions/classes in span.h
- Add fuzzing harness for LimitedString (serialize.h)
- Add fuzzing harness for functions/classes in random.h

Backport of core PR18455.

Depends on D8979.

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

Event Timeline

Fabien requested review of this revision.Jan 20 2021, 11:22
PiRK requested changes to this revision.Jan 20 2021, 14:55
PiRK added a subscriber: PiRK.
PiRK added inline comments.
src/test/fuzz/CMakeLists.txt
118

What about span?

This revision now requires changes to proceed.Jan 20 2021, 14:55
This revision is now accepted and ready to land.Jan 20 2021, 16:21