HomePhabricator

tests: Add fuzzing harness for serialization/deserialization of floating-points…

Description

tests: Add fuzzing harness for serialization/deserialization of floating-points and integrals

Summary:

Add simple fuzzing harness for functions with floating-point parameters
(such as ser_double_to_uint64(double), etc.).

Add serialization/deserialization fuzzing for integral types.

Backport of core PR17996.

The first and last commit are not relevant to us.

Test Plan:

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

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jan 23 2020, 17:26
FabienCommitted on Nov 3 2020, 13:44
FabienPushed on Nov 3 2020, 13:45
Reviewer
Restricted Project
Differential Revision
D8249: tests: Add fuzzing harness for serialization/deserialization of floating-points and integrals
Parents
rABC5a1a1b1bdefe: Add closing and flushing of logging handlers
Branches
Unknown
Tags
Unknown