-
Notifications
You must be signed in to change notification settings - Fork 38.7k
tests: Don't assume presence of __builtin_mul_overflow(…) in MultiplicationOverflow(…) fuzzing harness #18393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: Don't assume presence of __builtin_mul_overflow(…) in MultiplicationOverflow(…) fuzzing harness #18393
Conversation
405e883 to
3748e1d
Compare
|
Using 3748e1daec3f3b597e642d5eb86adb21fade6e36, got this with gcc: |
3748e1d to
5ff2ee1
Compare
|
@naumenkogs Oh, thanks! Clang-isms now removed :) Please re-review! |
I also noticed that I have gcc 5.4.0. Perhaps I should just update my compilers? I dunno what are the expectations. |
|
Updated both compilers, didn't help with this particular issue I mention above. Update: |
…ionOverflow(...) fuzzing harness
5ff2ee1 to
7c1ac70
Compare
|
@naumenkogs Thanks for testing! Hopefully fixed now. Would you mind testing the latest version? :) |
|
ACK 7c1ac70 |
…ionOverflow(...) fuzzing harness Summary: Backport of core [[bitcoin/bitcoin#18393 | 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
…in MultiplicationOverflow(...) fuzzing harness
backport: bitcoin#18867, bitcoin#19247, bitcoin#19222, bitcoin#18363, bitcoin#18190, bitcoin#18393, partial bitcoin#18047, bitcoin#18314, bitcoin#19143 (fuzzing harness backports: part 3)
Don't assume presence of
__builtin_mul_overflow(…)inMultiplicationOverflow(…)fuzzing harness.Fixes #18389.