Skip to content

Commit 9dd6bbb

Browse files
author
MarcoFalke
committed
Merge #17209: tests: Remove no longer needed UBSan suppressions (issues fixed). Add documentation.
0616138 tests: Remove no longer needed UBSan suppressions (issues fixed). Add documentation. (practicalswift) Pull request description: Remove no longer needed UBSan suppressions (issues fixed). Add documentation. This PR is the CI-only subset of #17208 (which touches code). From a fuzzing perspective it would be really nice to be able to run UBSan with as few suppressions as possible :) Top commit has no ACKs. Tree-SHA512: a926ab3e80e12a805af110fbff470cdc61ef4db536919a5b8896ea8b70f761114a52d9b1c0f48b11c1d48338351bf2e003e01ce60c613612f26ba298dcc29cd9
2 parents 4aaeb04 + 0616138 commit 9dd6bbb

File tree

1 file changed

+11
-2
lines changed
  • test/sanitizer_suppressions

1 file changed

+11
-2
lines changed

test/sanitizer_suppressions/ubsan

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1+
# -fsanitize=undefined suppressions
2+
# =================================
13
alignment:move.h
24
alignment:prevector.h
3-
bool:wallet/wallet.cpp
45
float-divide-by-zero:policy/fees.cpp
56
float-divide-by-zero:validation.cpp
67
float-divide-by-zero:wallet/wallet.cpp
8+
9+
# -fsanitize=integer suppressions
10+
# ===============================
11+
# Unsigned integer overflow occurs when the result of an unsigned integer
12+
# computation cannot be represented in its type. Unlike signed integer overflow,
13+
# this is not undefined behavior, but it is often unintentional. The list below
14+
# contains files in which we expect unsigned integer overflows to occur. The
15+
# list is used to suppress -fsanitize=integer warnings when running our CI UBSan
16+
# job.
717
unsigned-integer-overflow:arith_uint256.h
818
unsigned-integer-overflow:basic_string.h
919
unsigned-integer-overflow:bench/bench.h
@@ -32,4 +42,3 @@ unsigned-integer-overflow:stl_bvector.h
3242
unsigned-integer-overflow:txmempool.cpp
3343
unsigned-integer-overflow:util/strencodings.cpp
3444
unsigned-integer-overflow:validation.cpp
35-
vptr:fs.cpp

0 commit comments

Comments
 (0)