1 --- core/src/Matrix.h 2023-02-24 14:46:06.244773735 +0000
2 +++ core/src/Matrix.h 2023-02-24 14:46:12.619482571 +0000
8 - __attribute__((no_sanitize("signed-integer-overflow")))
10 Matrix(int width, int height, value_t val = {}) : _width(width), _height(height), _data(_width * _height, val) {
11 if (width != 0 && Size(_data) / width != height)
12 throw std::invalid_argument("invalid size: width * height is too big");
13 --- core/src/BitMatrix.h 2023-02-24 15:56:00.813976749 +0000
14 +++ core/src/BitMatrix.h 2023-02-24 15:56:18.740156420 +0000
17 BitMatrix() = default;
20 - __attribute__((no_sanitize("signed-integer-overflow")))
22 BitMatrix(int width, int height) : _width(width), _height(height), _bits(width * height, UNSET_V)
24 if (width != 0 && Size(_bits) / width != height)