HomePhabricator

tests: Fill fuzzing coverage gaps for functions in primitives/block.h

Description

tests: Fill fuzzing coverage gaps for functions in primitives/block.h

Summary:

Fill fuzzing coverage gaps for functions in consensus/validation.h
Fill fuzzing coverage gaps for functions in primitives/block.h
Fill fuzzing coverage gaps for functions in util/translation.h
[...]

Backport of core PR18938.

The last commit is almost empty as we already enforce c++17 and run
clang-format for each diff. Only remains the standard library additions
in src/fuzz/test/script.cpp.

Test Plan:

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D9061

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on May 9 2020, 21:26
FabienCommitted on Jan 26 2021, 12:31
FabienPushed on Jan 26 2021, 12:33
Reviewer
Restricted Project
Differential Revision
D9061: tests: Fill fuzzing coverage gaps for functions in primitives/block.h
Parents
rABC04e0fd2b3eff: fuzz: use std::optional for sep_pos variable
Branches
Unknown
Tags
Unknown