Page MenuHomePhabricator

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

Authored by Fabien on Jan 19 2021, 20:47.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC2fb7c38be9ca: tests: Don't assume presence of __builtin_mul_overflow in…
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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.