Page MenuHomePhabricator

tests: Add fuzzing harnesses for functions in script/
ClosedPublic

Authored by Fabien on Jan 29 2021, 09:52.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCe9af331a7784: tests: Add fuzzing harnesses for functions in script/
Summary
- Add fuzzing helper functions ConsumeDataStream and ConsumeUInt160
- Fill fuzzing coverage gaps for functions in script/script.h,
  script/script_error.h and script/standard.h
- Add fuzzing harness for functions in script/bitcoinconsensus.h
- Add fuzzing harness for functions in script/descriptor.h
- Add fuzzing harness for functions in script/interpreter.h
- Add fuzzing harness for functions in script/sigcache.h
- Add fuzzing harness for functions in script/sign.h

Backport of core PR18994.

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