Page MenuHomePhabricator

fuzz: Remove enumeration of expected deserialization exceptions in ProcessMessage(...) fuzzer
ClosedPublic

Authored by Fabien on Jan 21 2021, 14:21.

Details

Summary
The exceptions thrown by the libstdc++ and libc++ standard libraries
seems to differ for iostream errors. libstdc++ will output iostream
error while libc++ will output unspecified iostream_category error. This
means that the expected serialization messages [...] don't always work.

Backport of core PR18757.

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable