HomePhabricator

Set result_emulated to a value that is known to be wrong in intmath_tests.cpp

Description

Set result_emulated to a value that is known to be wrong in intmath_tests.cpp

Summary: Computation is done using unsigned, so that overflow is not UB.

Test Plan:

ninja check

Also do it using ubsan

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Oct 14 2021, 16:02
deadalnixPushed on Oct 14 2021, 20:03
Reviewer
Restricted Project
Differential Revision
D10350: Set result_emulated to a value that is known to be wrong in intmath_tests.cpp
Parents
rABCf4a939da3827: [avalanche] Convert the test utils to use proof shared pointers
Branches
Unknown
Tags
Unknown