HomePhabricator

tests: Don't assume presence of __builtin_mul_overflow in…

Description

tests: Don't assume presence of __builtin_mul_overflow in MultiplicationOverflow(...) fuzzing harness

Summary:
Backport of core PR18393.

Depends on D8967.

Test Plan:
I cannot reproduce the issue myself, but I can check it doesn't break
the fuzzer:

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Mar 20 2020, 16:15
FabienCommitted on Jan 20 2021, 08:19
FabienPushed on Jan 20 2021, 08:21
Reviewer
Restricted Project
Differential Revision
D8969: tests: Don't assume presence of __builtin_mul_overflow in MultiplicationOverflow(...) fuzzing harness
Parents
rABC619d2615f06b: tests: Add harness which fuzzes EvalScript and VerifyScript using a fuzzed…
Branches
Unknown
Tags
Unknown