HomePhabricator

fuzz: add missing overrides to signature_checker

Description

fuzz: add missing overrides to signature_checker

Summary:

and also
- add missing parentheses in fuzz/scriptnum_ops.cpp
- remove useless unsigned int conditional in fuzz/script.cpp

These changes fix 5 compile warnings in gcc 10.

Backport of core PR19548.

This is a bit pointless, since for now there is no GCC 10 version for
AFL and the fuzzer sanitizer is not supported. I added another fix to
prevent a -Werror=missing-braces warning in deserialize.cpp.

Test Plan:
With GCC (so no fuzzer enabled):

ninja bitcoin-fuzzers

Check there is no warning.

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
Jon Atack <jon@atack.com>Authored on Jul 18 2020, 18:27
FabienCommitted on Feb 3 2021, 10:34
FabienPushed on Feb 3 2021, 10:36
Reviewer
Restricted Project
Differential Revision
D9133: fuzz: add missing overrides to signature_checker
Parents
rABCb52804961de5: tests: Add fuzzing harnesses for CAutoFile, CBufferedFile…
Branches
Unknown
Tags
Unknown